Home Java Exceptions Java ActivationException Class Hierarchy Diagram
Questions:Ask|Latest

Related Tutorials


 
 

Share on Google+Share on Google+

Java ActivationException Class Hierarchy Diagram

Advertisement
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

Constructor
Description
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.

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 26, 2012

Related Tutorials

Ask Questions?    Discuss: Java ActivationException Class Hierarchy Diagram  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com