JML

org.jmlspecs.jmlrac
Class PositionnedExpressionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jmlspecs.jmlrac.PositionnedExpressionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NonExecutableExpressionException, NotImplementedExpressionException, NotSupportedExpressionException

public class PositionnedExpressionException
extends RuntimeException

This is exception is used to report expressions evaluation issues encountered during the visit of the tree. Since method signature are inherited from the default RAC visitor, the exception has to be runtime.

Version:
$Revision: 1.1 $
Author:
Frederic Rioux

Field Summary
private  TokenReference tok
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PositionnedExpressionException(TokenReference tok, String msg)
           
 
Method Summary
 TokenReference getTok()
           
 
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

tok

private TokenReference tok
Constructor Detail

PositionnedExpressionException

public PositionnedExpressionException(TokenReference tok,
                                      String msg)
Method Detail

getTok

public TokenReference getTok()

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.