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

javax.slee.SLEEException Maven / Gradle / Ivy

package javax.slee;

/**
 * This exception is the base exception class for runtime SLEE exceptions.
 */
public class SLEEException extends RuntimeException {
    /**
     * Create a SLEEException with a detail message.
     * @param message the detail message.
     */
    public SLEEException(String message) {
        this(message, null);
    }

    /**
     * Create a SLEEException with a detail message and cause.
     * @param message the detail message.
     * @param cause the reason this exception was thrown.
     */
    public SLEEException(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