|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.quattor.pan.exceptions.SyntaxException
public class SyntaxException
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.
| Constructor Summary | |
|---|---|
SyntaxException(String message,
SourceRange sourceRange)
|
|
SyntaxException(String message,
SourceRange sourceRange,
File file)
|
|
| Method Summary | |
|---|---|
SyntaxException |
addExceptionInfo(SourceRange sourceRange,
File file)
|
static SyntaxException |
create(SourceRange sourceRange,
EvaluationException ee)
|
static SyntaxException |
create(SourceRange sourceRange,
File file,
String msgkey,
Object... args)
|
static SyntaxException |
create(SourceRange sourceRange,
String msgkey,
Object... args)
|
String |
getMessage()
|
String |
getSimpleMessage()
|
| 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 |
|---|
public SyntaxException(String message,
SourceRange sourceRange)
public SyntaxException(String message,
SourceRange sourceRange,
File file)
| Method Detail |
|---|
public static SyntaxException create(SourceRange sourceRange,
String msgkey,
Object... args)
public static SyntaxException create(SourceRange sourceRange,
File file,
String msgkey,
Object... args)
public static SyntaxException create(SourceRange sourceRange,
EvaluationException ee)
public SyntaxException addExceptionInfo(SourceRange sourceRange,
File file)
public String getSimpleMessage()
public String getMessage()
getMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||