Class RestrictionEvaluationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.ssehub.easy.basics.modelManagement.RestrictionEvaluationException
- All Implemented Interfaces:
Serializable
An exception thrown when then evaluation of a restriction fails.
- Author:
- Holger Eichelberger
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRestrictionEvaluationException(String message, int id) Creates a restriction evaluation exception.RestrictionEvaluationException(String message, int id, Exception cause) Creates a restriction evaluation exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ID_INTERNAL
public static final int ID_INTERNAL- See Also:
-
id
private int id
-
-
Constructor Details
-
RestrictionEvaluationException
Creates a restriction evaluation exception.- Parameters:
message- the exception messageid- an identification used for testing
-
RestrictionEvaluationException
Creates a restriction evaluation exception.- Parameters:
message- the exception messageid- an identification used for testingcause- the causing exception
-
-
Method Details
-
getId
public int getId()Returns the identification used for testing.- Returns:
- the identification
-