org.jvyamlb.exceptions
Class PositionedScannerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jvyamlb.exceptions.YAMLException
org.jvyamlb.exceptions.ScannerException
org.jvyamlb.exceptions.PositionedScannerException
- All Implemented Interfaces:
- java.io.Serializable, Positionable
public class PositionedScannerException
- extends ScannerException
- implements Positionable
- Author:
- Ola Bini
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
range
private Position.Range range
PositionedScannerException
public PositionedScannerException(java.lang.String when,
java.lang.String what,
java.lang.String note,
Position.Range range)
PositionedScannerException
public PositionedScannerException(java.lang.Throwable thr,
Position.Range range)
getPosition
public Position getPosition()
- Specified by:
getPosition
in interface Positionable
getRange
public Position.Range getRange()
- Specified by:
getRange
in interface Positionable
toString
public java.lang.String toString()
- Overrides:
toString
in class ScannerException