org.apache.hivemind.sdl.parser
Class SystemParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.hivemind.sdl.parser.ParseException
                    |
                    +--org.apache.hivemind.sdl.parser.SystemParseException
All Implemented Interfaces:
java.io.Serializable

public class SystemParseException
extends ParseException

Subclass of SystemParseException that supports a wrapped exception (typically a SAXException.

Note: this class will not be needed if we restrict HiveMind to just JDK 1.4 and above, since it already has a facility for "attaching" a root cause to an arbitrary exception.

Author:
Howard Lewis Ship
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.hivemind.sdl.parser.ParseException
currentToken, eol, expectedTokenSequences, specialConstructor, tokenImage
 
Constructor Summary
SystemParseException(java.lang.Throwable rootCause)
           
 
Method Summary
 java.lang.Throwable getRootCause()
           
 
Methods inherited from class org.apache.hivemind.sdl.parser.ParseException
add_escapes, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemParseException

public SystemParseException(java.lang.Throwable rootCause)
Method Detail

getRootCause

public java.lang.Throwable getRootCause()