public class SyntaxException
extends java.lang.RuntimeException
eval
or execute
method,
or well-formedness errors when reading an XML document.Modifier and Type | Field and Description |
---|---|
int |
maxToPrint |
Constructor and Description |
---|
SyntaxException(SourceMessages messages) |
SyntaxException(java.lang.String header,
SourceMessages messages) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.lang.String |
getHeader()
If non-null, an extra one-line message printed before the messages.
|
java.lang.String |
getMessage() |
SourceMessages |
getMessages() |
void |
printAll(java.io.PrintWriter out,
int max) |
void |
setHeader(java.lang.String header)
Set the header returned by
getHeader . |
public SyntaxException(SourceMessages messages)
public SyntaxException(java.lang.String header, SourceMessages messages)
public final java.lang.String getHeader()
public final void setHeader(java.lang.String header)
getHeader
.public SourceMessages getMessages()
public void printAll(java.io.PrintWriter out, int max)
public void clear()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable