org.webmacro.parser
Class ParserRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.webmacro.RethrowableRuntimeException
                  extended byorg.webmacro.WebMacroRuntimeException
                      extended byorg.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

Constructor Summary
ParserRuntimeException()
           
ParserRuntimeException(java.lang.String reason)
           
ParserRuntimeException(java.lang.String reason, java.lang.Throwable e)
           
 
Methods inherited from class org.webmacro.RethrowableRuntimeException
getCaught, getCause, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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.