DimDom v0.8.2

org.alltimeflashdreamer.dimdom
Class DimDomException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.alltimeflashdreamer.dimdom.DimDomException
All Implemented Interfaces:
Serializable

public class DimDomException
extends Exception

Title: DimDomException
Description: This excpeption is designed to handle problems that occur(red) while processing a DimDom template / commands pair.

See Also:
Serialized Form

Constructor Summary
DimDomException(Exception e)
          Constructor with a Throwable only.
DimDomException(String sMessage)
          Constructor with a message text only.
DimDomException(String sMessage, Exception e)
          Constructor with a message text and a Throwable.
 
Method Summary
 String getMessage()
          Override of superclass' method, does what is described in the constructor that was called.
 String toString()
          Override of superclass' method, calls getMessage().
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimDomException

public DimDomException(String sMessage)
Constructor with a message text only.
Parameters:
sMessage - the error message

DimDomException

public DimDomException(Exception e)
Constructor with a Throwable only. During printing of the message text, the stack trace of the Throwable is printed as the message text.
Parameters:
e - the root cause of the DimDomException

DimDomException

public DimDomException(String sMessage,
                       Exception e)
Constructor with a message text and a Throwable. During printing of the message text, the value of sMessage, followed by the stack trace of this class itself, followed by the stack trace of the Throwable is printed as the message text.
Parameters:
sMessage - the error message
e - the root cause of the DimDomException
Method Detail

toString

public String toString()
Override of superclass' method, calls getMessage().
Overrides:
toString in class Throwable
Returns:
the error message

getMessage

public String getMessage()
Override of superclass' method, does what is described in the constructor that was called.
Overrides:
getMessage in class Throwable
Returns:
the error message

Copyright (c) 2001/02 by Florian Steinsiepe