public class ParsingException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
private Position |
position |
private static long |
serialVersionUID |
Constructor and Description |
---|
ParsingException(Position position) |
ParsingException(Position position,
String message) |
ParsingException(Position position,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Position |
getPosition() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private final Position position
public ParsingException(Position position)
position
- the position of the error; never nullpublic ParsingException(Position position, String message, Throwable cause)
position
- the position of the error; never nullmessage
- the messagecause
- the underlying causepublic Position getPosition()
Copyright © 2016 JBoss by Red Hat. All rights reserved.