org.modeshape.common.text
Class ParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.common.text.ParsingException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DdlParserProblem
public class ParsingException
- extends RuntimeException
An exception representing a problem during parsing of text.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParsingException
public ParsingException(Position position)
- Parameters:
position
- the position of the error; never null
ParsingException
public ParsingException(Position position,
String message,
Throwable cause)
- Parameters:
position
- the position of the error; never nullmessage
- the messagecause
- the underlying cause
ParsingException
public ParsingException(Position position,
String message)
- Parameters:
position
- the position of the error; never nullmessage
- the message
getPosition
public Position getPosition()
- Returns:
- position
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.