org.jvyamlb.exceptions
Class PositionedComposerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jvyamlb.exceptions.YAMLException
                  extended by org.jvyamlb.exceptions.ComposerException
                      extended by org.jvyamlb.exceptions.PositionedComposerException
All Implemented Interfaces:
java.io.Serializable, Positionable

public class PositionedComposerException
extends ComposerException
implements Positionable

Author:
Ola Bini
See Also:
Serialized Form

Field Summary
private  Position.Range range
           
 
Constructor Summary
PositionedComposerException(java.lang.String when, java.lang.String what, java.lang.String note, Position.Range range)
           
PositionedComposerException(java.lang.Throwable thr, Position.Range range)
           
 
Method Summary
 Position getPosition()
           
 Position.Range getRange()
           
 java.lang.String toString()
           
 
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
 

Field Detail

range

private Position.Range range
Constructor Detail

PositionedComposerException

public PositionedComposerException(java.lang.String when,
                                   java.lang.String what,
                                   java.lang.String note,
                                   Position.Range range)

PositionedComposerException

public PositionedComposerException(java.lang.Throwable thr,
                                   Position.Range range)
Method Detail

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 ComposerException