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:
java.io.Serializable,IIdentifiable
public class ConfigurationException extends IvmlException
Implements a specific exception for errors in the configuration.- Author:
- Holger Eichelberger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intALREADY_FROZENprivate IConfigurationconfigurationstatic intDUPLICATES_IN_SETstatic intINTERNALstatic intTYPE_MISMATCH
-
Constructor Summary
Constructors Constructor Description ConfigurationException(IConfiguration configuration, java.lang.String message, int code)Creates a configuration exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IConfigurationgetConfiguration()Returns the configuration this exception occurs on.-
Methods inherited from class net.ssehub.easy.varModel.model.IvmlException
getCode, getId
-
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
-
-
-
-
Field Detail
-
ALREADY_FROZEN
public static final int ALREADY_FROZEN
- See Also:
- Constant Field Values
-
TYPE_MISMATCH
public static final int TYPE_MISMATCH
- See Also:
- Constant Field Values
-
INTERNAL
public static final int INTERNAL
- See Also:
- Constant Field Values
-
DUPLICATES_IN_SET
public static final int DUPLICATES_IN_SET
- See Also:
- Constant Field Values
-
configuration
private IConfiguration configuration
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(IConfiguration configuration, java.lang.String message, int code)
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 Detail
-
getConfiguration
public IConfiguration getConfiguration()
Returns the configuration this exception occurs on.- Returns:
- the configuration (may be null during incremental buildup)
-
-