Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.ssehub.easy.varModel.model.IvmlException
net.ssehub.easy.varModel.confModel.ConfigurationException
- All Implemented Interfaces:
Serializable,net.ssehub.easy.basics.messages.IIdentifiable
Implements a specific exception for errors in the configuration.
- Author:
- Holger Eichelberger
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate IConfigurationstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationException(IConfiguration configuration, String message, int code) Creates a configuration exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration this exception occurs on.Methods inherited from class net.ssehub.easy.varModel.model.IvmlException
getCode, getIdMethods 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
-
ALREADY_FROZEN
public static final int ALREADY_FROZEN- See Also:
-
TYPE_MISMATCH
public static final int TYPE_MISMATCH- See Also:
-
INTERNAL
public static final int INTERNAL- See Also:
-
DUPLICATES_IN_SET
public static final int DUPLICATES_IN_SET- See Also:
-
configuration
-
-
Constructor Details
-
ConfigurationException
Creates a configuration exception.- Parameters:
configuration- the causing configuration (may be null during incremental buildup)message- a message explaining the reason for this exceptioncode- a code representing the reason
-
-
Method Details
-
getConfiguration
Returns the configuration this exception occurs on.- Returns:
- the configuration (may be null during incremental buildup)
-