Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbossmx.cluster.watchdog
Class HermesException  view HermesException download HermesException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jbossmx.cluster.watchdog.HermesException
All Implemented Interfaces:
java.io.Serializable

public class HermesException
extends java.lang.Exception

Exception class to use for progating exception outside of Hermes


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
protected  java.lang.String m_reason
           
protected  java.lang.Exception m_source
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
HermesException(java.lang.String reason, java.lang.Exception source)
          Constructor for HermesException
 
Method Summary
 java.lang.String getMessage()
          Get the message associated with this Throwable.
 java.lang.String toString()
          Get a human-readable representation of this Throwable.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_reason

protected java.lang.String m_reason

m_source

protected java.lang.Exception m_source
Constructor Detail

HermesException

public HermesException(java.lang.String reason,
                       java.lang.Exception source)
Constructor for HermesException

Method Detail

getMessage

public java.lang.String getMessage()
Description copied from class: java.lang.Throwable
Get the message associated with this Throwable.


toString

public java.lang.String toString()
Description copied from class: java.lang.Throwable
Get a human-readable representation of this Throwable. The detail message is retrieved by getLocalizedMessage(). Then, with a null detail message, this string is simply the object's class name; otherwise the string is getClass().getName() + ": " + message.