All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.slee.management.ManagementException Maven / Gradle / Ivy

The newest version!
package javax.slee.management;

/**
 * This exception is thrown by methods defined in the SLEE's management API
 * if a management operation could not be successfully completed due to an unexpected
 * system-level failure.
 */
public class ManagementException extends Exception {
    /**
     * Create a ManagementException with a detail message.
     * @param message the detail message.
     */
    public ManagementException(String message) {
        this(message, null);
    }

    /**
     * Create a ManagementException with a detail message and cause.
     * @param message the detail message.
     * @param cause the reason this exception was thrown.
     */
    public ManagementException(String message, Throwable cause) {
        super(message);
        this.cause = cause;
    }

    /**
     * Get the cause (if any) for this exception.
     * @return the cause.
     */
    public Throwable getCause() {
        return cause;
    }


    private final Throwable cause;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy