Class ModelManagementException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.ssehub.easy.basics.messages.AbstractException
-
- net.ssehub.easy.basics.modelManagement.ModelManagementException
-
- All Implemented Interfaces:
java.io.Serializable,IIdentifiable
public class ModelManagementException extends AbstractException
An exception thrown by the model management itself typically on global consistency issues.- Author:
- Holger Eichelberger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intINTERNALstatic intMODEL_CYCLIC_IMPORTstatic intMODEL_IMPORT_VERSION_CONFLICTstatic intMODEL_INFO_INCONSISTENCYstatic intMODEL_LOAD_FAILURE-
Fields inherited from class net.ssehub.easy.basics.messages.AbstractException
ID_AMBIGUOUS, ID_CANNOT_RESOLVE, ID_INTERNAL, ID_SEMANTIC, ID_WARNING
-
-
Constructor Summary
Constructors Constructor Description ModelManagementException(java.lang.StringBuilder message, int code)Create a new exception based on the given message.ModelManagementException(java.lang.String message, int code)Create a new exception based on the given message.
-
Method Summary
-
Methods inherited from class net.ssehub.easy.basics.messages.AbstractException
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
-
MODEL_INFO_INCONSISTENCY
public static final int MODEL_INFO_INCONSISTENCY
- See Also:
- Constant Field Values
-
MODEL_CYCLIC_IMPORT
public static final int MODEL_CYCLIC_IMPORT
- See Also:
- Constant Field Values
-
MODEL_IMPORT_VERSION_CONFLICT
public static final int MODEL_IMPORT_VERSION_CONFLICT
- See Also:
- Constant Field Values
-
MODEL_LOAD_FAILURE
public static final int MODEL_LOAD_FAILURE
- See Also:
- Constant Field Values
-
INTERNAL
public static final int INTERNAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ModelManagementException
public ModelManagementException(java.lang.String message, int code)Create a new exception based on the given message.- Parameters:
message- the messagecode- a code detailing the exception
-
ModelManagementException
public ModelManagementException(java.lang.StringBuilder message, int code)Create a new exception based on the given message.- Parameters:
message- the messagecode- a code detailing the exception
-
-