tudresden.ocl.lib
Class OclException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tudresden.ocl.lib.OclException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- OclClassCastException
- public class OclException
- extends RuntimeException
A runtime exception thrown to indicate that an error occured during
evaluation of the constraint. The cause of this error can be
an error in the transformed OCL expression. An exception
is also thrown if isTrue
of an undefined OclBoolean
is called. For type errors, OclClassCastException
is used.
OclException
extends java.lang.RuntimeException
so application programmers don't have to keep catching these
exceptions that usually result of modelling mistakes.
- Author:
- Frank Finger
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
Constructor Summary |
OclException(String message)
Create a new OclException with the specified message string. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
message
protected String message
OclException
public OclException(String message)
- Create a new OclException with the specified message string.
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.