org.jmlspecs.jml4.rac.runtime
Class JMLInvariantError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.jmlspecs.jml4.rac.runtime.JMLAssertionError
              extended by org.jmlspecs.jml4.rac.runtime.JMLInvariantError
All Implemented Interfaces:
java.io.Serializable

public class JMLInvariantError
extends JMLAssertionError

A JML error class to notify an invariant violation.

Version:
$Revision: 1.5 $
Author:
Yoonsik Cheon
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jmlspecs.jml4.rac.runtime.JMLAssertionError
JMLAssertionError.Location
 
Constructor Summary
JMLInvariantError(java.lang.String className, java.lang.String methodName, java.util.Set<JMLAssertionError.Location> assertions, java.util.Map<java.lang.String,java.lang.Object> state)
          Creates a new JMLInvariantError instance.
JMLInvariantError(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.jmlspecs.jml4.rac.runtime.JMLAssertionError
className, getMessage, locations, message, methodName, values
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMLInvariantError

public JMLInvariantError(java.lang.String className,
                         java.lang.String methodName,
                         java.util.Set<JMLAssertionError.Location> assertions,
                         java.util.Map<java.lang.String,java.lang.Object> state)
Creates a new JMLInvariantError instance.


JMLInvariantError

public JMLInvariantError(java.lang.Throwable cause)