water.exec
Class PositionedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by water.exec.PositionedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EvaluationException, ParserException

public class PositionedException
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
 int _pos
           
 
Constructor Summary
protected PositionedException(int pos, java.lang.String msg)
           
 
Method Summary
 java.lang.String report(java.lang.String source)
           
 java.lang.String reportHTML(java.lang.String source)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_pos

public final int _pos
Constructor Detail

PositionedException

protected PositionedException(int pos,
                              java.lang.String msg)
Method Detail

report

public java.lang.String report(java.lang.String source)

reportHTML

public java.lang.String reportHTML(java.lang.String source)