com.gentics.api.lib.exception
Class ParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.gentics.api.lib.exception.NodeException
com.gentics.api.lib.exception.ParserException
- All Implemented Interfaces:
- java.io.Serializable
public class ParserException
- extends NodeException
Exception that is thrown when a parsing process fails
- See Also:
- Serialized Form
Field Summary |
protected int |
pos
|
protected java.lang.String |
where
|
Constructor Summary |
ParserException(java.lang.String message)
Create an instance of the exception with a message |
ParserException(java.lang.String message,
java.lang.String where,
int pos)
Create an instance of the exception with a message and a position |
ParserException(java.lang.String message,
java.lang.Throwable cause)
Create an instance of the exception with a message and a cause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
where
protected java.lang.String where
pos
protected int pos
ParserException
public ParserException(java.lang.String message,
java.lang.String where,
int pos)
- Create an instance of the exception with a message and a position
- Parameters:
message
- message of the exceptionwhere
- sourcepos
- position
ParserException
public ParserException(java.lang.String message)
- Create an instance of the exception with a message
- Parameters:
message
- message of the exception
ParserException
public ParserException(java.lang.String message,
java.lang.Throwable cause)
- Create an instance of the exception with a message and a cause
- Parameters:
message
- message of the exceptioncause
- cause of the exception
Copyright © 2013 Gentics Software GmbH. All Rights Reserved.