org.jboss.dna.common.text
Class TokenStream.ParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.dna.common.text.TokenStream.ParsingException
All Implemented Interfaces:
Serializable
Enclosing class:
TokenStream

public static class TokenStream.ParsingException
extends RuntimeException

An exception representing a problem during parsing.

See Also:
Serialized Form

Constructor Summary
TokenStream.ParsingException(TokenStream.Position position)
           
TokenStream.ParsingException(TokenStream.Position position, String message)
           
TokenStream.ParsingException(TokenStream.Position position, String message, Throwable cause)
           
 
Method Summary
 TokenStream.Position getPosition()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenStream.ParsingException

public TokenStream.ParsingException(TokenStream.Position position)
Parameters:
position - the position of the error; never null

TokenStream.ParsingException

public TokenStream.ParsingException(TokenStream.Position position,
                                    String message,
                                    Throwable cause)
Parameters:
position - the position of the error; never null
message - the message
cause - the underlying cause

TokenStream.ParsingException

public TokenStream.ParsingException(TokenStream.Position position,
                                    String message)
Parameters:
position - the position of the error; never null
message - the message
Method Detail

getPosition

public TokenStream.Position getPosition()
Returns:
position


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.