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

javax.slee.profile.ProfileImplementationException Maven / Gradle / Ivy

The newest version!
package javax.slee.profile;

/**
 * This exception wraps an exception thrown by profile management code implemented by
 * an SBB developer.  It is included in the throws clause of business
 * methods included in ProfileMBean classes generated by the SLEE.
 */
public class ProfileImplementationException extends Exception {
    /**
     * Create a ProfileImplementationException with a detail message and cause.
     * @param cause the reason this exception was thrown.
     */
    public ProfileImplementationException(Throwable cause) {
        super("Exception thrown by Profile Abstract Class implementation code");
        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