Package net.ssehub.easy.varModel.model
Class IvmlException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.ssehub.easy.varModel.model.IvmlException
-
- All Implemented Interfaces:
java.io.Serializable,IIdentifiable
- Direct Known Subclasses:
ConfigurationException,CSTSemanticException,ModelQueryException,ReasoningException,UnknownTypeException,ValueDoesNotMatchTypeException
public abstract class IvmlException extends java.lang.Exception implements IIdentifiable
A top level exception class for all IVML exceptions.- Author:
- Holger Eichelberger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private intcode
-
Constructor Summary
Constructors Constructor Description IvmlException(java.lang.String message, int code)Create a new exception based on the given message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()Returns a numerical code representing the cause.intgetId()Returns a numerical identifier representing the actualmessage.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.ssehub.easy.basics.messages.IIdentifiable
getMessage
-
-
-
-
Method Detail
-
getCode
public int getCode()
Returns a numerical code representing the cause.- Returns:
- the numerical code
-
getId
public int getId()
Description copied from interface:IIdentifiableReturns a numerical identifier representing the actualmessage. This identifier is used for asserting exceptions in tests.- Specified by:
getIdin interfaceIIdentifiable- Returns:
- the identifier
-
-