org.webmacro.parser
Class ParserRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.webmacro.RethrowableRuntimeException
org.webmacro.WebMacroRuntimeException
org.webmacro.parser.ParserRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- public class ParserRuntimeException
- extends WebMacroRuntimeException
Runtime exception for passing exceptions through the parser.
The parser used by WebMacro is autogenerated and works well,
but has a bad exception handling. If we want to pass a exception,
through the parser, we use this runtime exception in code called
by the parser (for example BackupCharStream) and catch it in the
code calling the parser.
- Author:
- Sebastian Kanthak
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParserRuntimeException
public ParserRuntimeException()
ParserRuntimeException
public ParserRuntimeException(java.lang.String reason)
ParserRuntimeException
public ParserRuntimeException(java.lang.String reason,
java.lang.Throwable e)
Copyright © 1999-2006 WebMacro. All Rights Reserved.