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:
Serializable,net.ssehub.easy.basics.messages.IIdentifiable
- Direct Known Subclasses:
ConfigurationException,CSTSemanticException,ModelQueryException,ReasoningException,ValueDoesNotMatchTypeException
public abstract class IvmlException
extends Exception
implements net.ssehub.easy.basics.messages.IIdentifiable
A top level exception class for all IVML exceptions.
- Author:
- Holger Eichelberger
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIvmlException(String message, int code) Create a new exception based on the given message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.ssehub.easy.basics.messages.IIdentifiable
getMessage
-
Field Details
-
code
private int code
-
-
Constructor Details
-
IvmlException
Create a new exception based on the given message.- Parameters:
message- the messagecode- a code detailing the exception
-
-
Method Details
-
getCode
public int getCode()Returns a numerical code representing the cause.- Returns:
- the numerical code
-
getId
public int getId()- Specified by:
getIdin interfacenet.ssehub.easy.basics.messages.IIdentifiable
-