org.jboss.dna.common.text
Class TokenStream.ParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 nullmessage
- the messagecause
- the underlying cause
TokenStream.ParsingException
public TokenStream.ParsingException(TokenStream.Position position,
String message)
- Parameters:
position
- the position of the error; never nullmessage
- the message
getPosition
public TokenStream.Position getPosition()
- Returns:
- position
Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.