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

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

public class DefaultParseNodeInErrorStatus
extends AbstractParseNodeInErrorStatus

a default implementation of parse node in error status: only store an error message

Author:
luc peuvrier

Constructor Summary
DefaultParseNodeInErrorStatus(IParseNode inErrorParseNode, java.lang.String errorMessage, java.lang.Exception exception, StatusSetterTrace statusSetterTrace)
           
DefaultParseNodeInErrorStatus(IParseNode inErrorParseNode, java.lang.String errorMessage, StatusSetterTrace statusSetterTrace)
           
 
Method Summary
 java.lang.String getErrorMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.parser4j.parser.entity.parsenode.status.impl.AbstractParseNodeInErrorStatus
getBeginColumnNumber, getBeginLineNumber, getEndColumnNumber, getEndLineNumber, getException, getFileName, getStatusSetterTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultParseNodeInErrorStatus

public DefaultParseNodeInErrorStatus(IParseNode inErrorParseNode,
                                     java.lang.String errorMessage,
                                     StatusSetterTrace statusSetterTrace)

DefaultParseNodeInErrorStatus

public DefaultParseNodeInErrorStatus(IParseNode inErrorParseNode,
                                     java.lang.String errorMessage,
                                     java.lang.Exception exception,
                                     StatusSetterTrace statusSetterTrace)
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Returns:
the errorMessage

toString

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


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