net.sf.parser4j.parser.entity.parsenode.status.impl
Class AbstractParseNodeInErrorStatus

java.lang.Object
  extended by net.sf.parser4j.parser.entity.parsenode.status.impl.AbstractParseNodeInErrorStatus
All Implemented Interfaces:
IParseNodeInErrorStatus
Direct Known Subclasses:
DefaultParseNodeInErrorStatus

public abstract class AbstractParseNodeInErrorStatus
extends java.lang.Object
implements IParseNodeInErrorStatus

generic for all

Author:
luc peuvrier

Constructor Summary
AbstractParseNodeInErrorStatus(IParseNode inErrorParseNode, java.lang.Exception exception, StatusSetterTrace statusSetterTrace)
           
 
Method Summary
 int getBeginColumnNumber()
           
 int getBeginLineNumber()
           
 int getEndColumnNumber()
           
 int getEndLineNumber()
           
 java.lang.Exception getException()
           
 java.lang.String getFileName()
           
 StatusSetterTrace getStatusSetterTrace()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractParseNodeInErrorStatus

public AbstractParseNodeInErrorStatus(IParseNode inErrorParseNode,
                                      java.lang.Exception exception,
                                      StatusSetterTrace statusSetterTrace)
Method Detail

getException

public java.lang.Exception getException()
Returns:
the exception

getStatusSetterTrace

public StatusSetterTrace getStatusSetterTrace()
Returns:
the status setter trace

getFileName

public java.lang.String getFileName()
Specified by:
getFileName in interface IParseNodeInErrorStatus
Returns:
the file with error name

getBeginColumnNumber

public int getBeginColumnNumber()
Specified by:
getBeginColumnNumber in interface IParseNodeInErrorStatus
Returns:
begin column number
See Also:
IParseNodeInErrorStatus.getBeginColumnNumber()

getBeginLineNumber

public int getBeginLineNumber()
Specified by:
getBeginLineNumber in interface IParseNodeInErrorStatus
Returns:
begin line number
See Also:
IParseNodeInErrorStatus.getBeginLineNumber()

getEndColumnNumber

public int getEndColumnNumber()
Specified by:
getEndColumnNumber in interface IParseNodeInErrorStatus
Returns:
end column number
See Also:
IParseNodeInErrorStatus.getEndColumnNumber()

getEndLineNumber

public int getEndLineNumber()
Specified by:
getEndLineNumber in interface IParseNodeInErrorStatus
Returns:
end line number
See Also:
IParseNodeInErrorStatus.getEndLineNumber()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.