|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
biz.c24.io.api.ParserException
public class ParserException
An exception signifying an error has occured whilst parsing a data model.
Constructor Summary | |
---|---|
ParserException(String message,
String node)
Constructs a new instance with the specified message and node. |
|
ParserException(Throwable cause,
String node)
Creates a new ParserException with the specified cause and node. |
|
ParserException(ValidationResultEnum result,
ParserError[] errors)
Constructs a new instance with the specified result and list of errors. |
|
ParserException(ValidationResultEnum result,
String node,
ParserError[] errors)
Constructs a new instance with the specified result, node and list of errors. |
|
ParserException(ValidationResultEnum result,
String node,
String message)
Constructs a new instance with the specified result, node and message. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the cause. |
ParserError[] |
getErrors()
Returns the array of errors. |
String |
getMessage()
|
String |
getNode()
Returns the node. |
ValidationResultEnum |
getResult()
Returns the result code. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 ParserException(String message, String node)
message
- The message.node
- The node that caused the exception.public ParserException(Throwable cause, String node)
cause
- The cause of the exception.node
- The node that caused the exception.public ParserException(ValidationResultEnum result, String node, String message)
result
- The reson for the exception.node
- The node that caused the exception.message
- The mesage.public ParserException(ValidationResultEnum result, String node, ParserError[] errors)
result
- The reson for the exception.node
- The node that caused the exception.errors
- The array of errors.public ParserException(ValidationResultEnum result, ParserError[] errors)
result
- The reson for the exception.errors
- The array of errors.Method Detail |
---|
public ValidationResultEnum getResult()
public Throwable getCause()
getCause
in class Throwable
null
if no cause was specified.public String getNode()
public ParserError[] getErrors()
public String getMessage()
getMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |