orc.error.compiletime
Class ParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by orc.error.OrcException
              extended by orc.error.compiletime.CompilationException
                  extended by orc.error.compiletime.ParsingException
All Implemented Interfaces:
java.io.Serializable, Locatable, Located

public class ParsingException
extends CompilationException

Problem parsing the text of an Orc program. Mostly this is a wrapper around the exceptions thrown by whatever parsing library we use.

Author:
quark
See Also:
Serialized Form

Field Summary
 
Fields inherited from class orc.error.compiletime.CompilationException
location
 
Constructor Summary
ParsingException(java.lang.String message)
           
ParsingException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class orc.error.compiletime.CompilationException
getMessage, getMessageOnly, getSourceLocation, setSourceLocation
 
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

ParsingException

public ParsingException(java.lang.String message,
                        java.lang.Throwable cause)

ParsingException

public ParsingException(java.lang.String message)