org.jmlspecs.jmlrac.runtime
Class JMLNonExecutableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jmlspecs.jmlrac.runtime.JMLNonExecutableException
- All Implemented Interfaces:
- Serializable
- public class JMLNonExecutableException
- extends RuntimeException
Thrown by generated runtime assertion check code to indicate that
an attempt has been made to execute a JML expression that is not
executable. The following expressions are statically determined to
be non-executable:
\not_modified
, \fresh
,
(* ... *)
, \invariant_for
,
\is_initialized
, \reach
,
\elemtype
, and \lockset
.
For certain expressions such as quantified expressions,
executability is determined dynamically at runtime.
If an expression becomes non-executable, its value is contextually
determined by the smallest, enclosing boolean expression.
- Version:
- $Revision: 1.5 $
- Author:
- Yoonsik Cheon
- See Also:
TransExpression
Specifications inherited from class Throwable |
public invariant \nonnullelements(this._stackTrace);
public represents causeSet <- this._cause != this; |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JMLNonExecutableException
public JMLNonExecutableException()
- Constructs a new instance.
JMLNonExecutableException
public JMLNonExecutableException(String msg)
- Constructs a new instance with the given message,
msg
.
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.