com.gentics.api.lib.exception
Class ParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.gentics.api.lib.exception.NodeException
              extended by 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
 
Method Summary
 
Methods inherited from class com.gentics.api.lib.exception.NodeException
getLocalizedMessage
 
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
 

Field Detail

where

protected java.lang.String where

pos

protected int pos
Constructor Detail

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 exception
where - source
pos - 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 exception
cause - cause of the exception


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.