|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception ilog.rules.bom.serializer.IlrSyntaxError
public class IlrSyntaxError
An exception thrown by object model serializers when a syntax error is found while reading an input stream.
Constructor Summary | |
---|---|
IlrSyntaxError()
Constructs a syntax error exception. |
|
IlrSyntaxError(int lineno,
String msg)
Constructs a syntax error exception with a given line number and a given message. |
|
IlrSyntaxError(List errors)
Constructs a syntax error exception. |
|
IlrSyntaxError(String msg)
Constructs a syntax error exception with a given message. |
|
IlrSyntaxError(String filename,
int lineno,
String msg)
Constructs a syntax error exception with a given file name, a line number and a given message. |
|
IlrSyntaxError(String msg,
List errors)
Constructs a syntax error exception. |
Method Summary | |
---|---|
String[] |
getErrorMessages()
|
List |
getErrors()
Returns the list of errors. |
String |
getFilename()
Returns the file name. |
int |
getLineNumber()
Returns the line number where the syntax error occurred or -1 if the line number is not known. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 IlrSyntaxError()
public IlrSyntaxError(List errors)
public IlrSyntaxError(String msg, List errors)
public IlrSyntaxError(String msg)
public IlrSyntaxError(int lineno, String msg)
public IlrSyntaxError(String filename, int lineno, String msg)
filename
- A String
that represents a file name.lineno
- An int
that represents a line number.msg
- A String
that represents a message.Method Detail |
---|
public int getLineNumber()
-1
if the line number is not known.
public String getFilename()
public List getErrors()
SAXException
public String[] getErrorMessages()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |