org.quattor.pan.exceptions
Class SyntaxException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.quattor.pan.exceptions.SyntaxException
- All Implemented Interfaces:
- java.io.Serializable
public class SyntaxException
- extends java.lang.Exception
Exceptions of this type are thrown lexing and parsing phases. A few of these
exceptions are thrown by the Template constructor, which makes
the more complex syntax checks.
- Author:
- loomis
- See Also:
- Serialized Form
| 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 |
SyntaxException
public SyntaxException(java.lang.String message,
SourceRange sourceRange)
SyntaxException
public SyntaxException(java.lang.String message,
SourceRange sourceRange,
java.io.File file)
create
public static SyntaxException create(SourceRange sourceRange,
java.lang.String msgkey,
java.lang.Object... args)
create
public static SyntaxException create(SourceRange sourceRange,
java.io.File file,
java.lang.String msgkey,
java.lang.Object... args)
create
public static SyntaxException create(SourceRange sourceRange,
EvaluationException ee)
addExceptionInfo
public SyntaxException addExceptionInfo(SourceRange sourceRange,
java.io.File file)
getSimpleMessage
public java.lang.String getSimpleMessage()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
Copyright © 2011 Quattor. All Rights Reserved.