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

Quick Search    Search Deep

com.aendvari.cerberus.component.descriptor.parser
Class ParserException  view ParserException download ParserException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.aendvari.cerberus.component.descriptor.parser.ParserException
All Implemented Interfaces:
java.io.Serializable

public class ParserException
extends java.lang.Exception

Thrown when a problem has occured while parsing a component descriptor.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
protected  java.lang.StringBuffer extended
          Stores extended information on this exception.
protected  java.lang.Throwable rootCause
          The exception that caused this exception, may be null.
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ParserException()
          Constructs a ParserException with no detail message.
ParserException(java.lang.String setMessage)
          Constructs a ParserException with the supplied detail message.
ParserException(java.lang.String message, java.lang.Throwable setRootCause)
          Constructs a ParserException with the supplied detail message and causing exception.
ParserException(java.lang.Throwable setRootCause)
          Constructs a ParserException with causing exception.
 
Method Summary
 void addMessage(java.lang.String message)
          Adds additional information to this exception.
 java.lang.Throwable getRootCause()
          Returns the exception that caused this exception, null if none.
 java.lang.String toString()
          Returns a string representation of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

rootCause

protected java.lang.Throwable rootCause
The exception that caused this exception, may be null.


extended

protected java.lang.StringBuffer extended
Stores extended information on this exception.

Constructor Detail

ParserException

public ParserException()
Constructs a ParserException with no detail message.


ParserException

public ParserException(java.lang.Throwable setRootCause)
Constructs a ParserException with causing exception.


ParserException

public ParserException(java.lang.String setMessage)
Constructs a ParserException with the supplied detail message.


ParserException

public ParserException(java.lang.String message,
                       java.lang.Throwable setRootCause)
Constructs a ParserException with the supplied detail message and causing exception.

Method Detail

addMessage

public void addMessage(java.lang.String message)
Adds additional information to this exception.


getRootCause

public java.lang.Throwable getRootCause()
Returns the exception that caused this exception, null if none.


toString

public java.lang.String toString()
Returns a string representation of the exception.