JML

org.jmlspecs.jmlrac.runtime
Class JMLInvariantError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.jmlspecs.jmlrac.runtime.JMLAssertionError
              extended byorg.jmlspecs.jmlrac.runtime.JMLInvariantError
All Implemented Interfaces:
Serializable

public class JMLInvariantError
extends JMLAssertionError

A JML error class to notify invariant violations.

Version:
$Revision: 1.5 $
Author:
Yoonsik Cheon

Field Summary
 
Fields inherited from class org.jmlspecs.jmlrac.runtime.JMLAssertionError
className, locations, methodName
 
Fields inherited from class java.lang.Error
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
JMLInvariantError(String message, String className, String methodName, Set locations)
          Creates a new JMLInvariantError instance.
JMLInvariantError(String className, String methodName, Set locations)
          Creates a new JMLInvariantError instance.
JMLInvariantError(Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.jmlspecs.jmlrac.runtime.JMLAssertionError
className, getMessage, locations, message, methodName
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMLInvariantError

public JMLInvariantError(String className,
                         String methodName,
                         Set locations)
Creates a new JMLInvariantError instance.


JMLInvariantError

public JMLInvariantError(String message,
                         String className,
                         String methodName,
                         Set locations)
Creates a new JMLInvariantError instance.


JMLInvariantError

public JMLInvariantError(Throwable cause)

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.