⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 peerunavailableexception.java

📁 jainslee1.0 源代码
💻 JAVA
字号:
package javax.slee.management;/** * This exception is thrown by the {@link SleeProviderFactory} to indicate that * a <code>SleeProvider</code> peer class could not be instantiated using the * class name provided. * <p> * Possible reasons that the peer class could not be instantiated include: * <ul> *   <li>the given class name could not be found in the class path *   <li>the class did not have a public no-arg constructor *   <li>the class did not implement the {@link SleeProvider} interface * </ul> */public class PeerUnavailableException extends Exception {    /**     * Create a <code>PeerUnavailableException</code> with a detail message.     * @param message the detail message.     */    public PeerUnavailableException(String message) {        this(message, null);    }    /**     * Create a <code>PeerUnavailableException</code> with a detail message and cause.     * @param message the detail message.     * @param cause the reason this exception was thrown.     */    public PeerUnavailableException(String message, Throwable cause) {        super(message);        this.cause = cause;    }    /**     * Get the cause for this exception.     * @return the cause.     */    public Throwable getCause() {        return cause;    }    private final Throwable cause;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -