In this section we will discuss about the class hierarchy of ActivationException Class in Java.
Java ActivationException Class Hierarchy Diagram
In this section we will discuss about the class hierarchy of ActivationException Class in Java.
This class extends the java.lang.Exception class. Activation interfaces uses this general exception. Class hierarchy diagram is given below :
Constructor Detail
ActivationException() | This is default constructor which creates a new ActivationException object
which doesn't contains the detail message. Syntax : public ActivationException() |
ActivationException(String s) | This constructor creates a new ActivationException object with the given
message. Syntax : public ActivationException(String s) |
ActivationException(String s, Throwable cause) | This constructor creates a new ActivationException object with the given
message and cause. Syntax : public ActivationException(String s, Throwable cause) |
Method Detail
- getCause() : This method is used to get the cause of
exception.
Syntax : public Throwable getCause()
- getMessage() : This method is used to get the detail
message.
Syntax : public String getMessage()
Except these this class inherits methods of its parent classes.