Class DataConsistencyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.model.common.DataConsistencyException
-
- All Implemented Interfaces:
Serializable
public class DataConsistencyException extends Exception
ADataConsistencyException
indicates an inconsistency in the data (of a service).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataConsistencyException(String message)
Creates a newDataConsistencyException
with the designated message.DataConsistencyException(String message, Throwable cause)
Creates a newDataConsistencyException
with the designated message and the designated cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DataConsistencyException
public DataConsistencyException(String message)
Creates a newDataConsistencyException
with the designated message.- Parameters:
message
- The message for the createdDataConsistencyException
.
-
DataConsistencyException
public DataConsistencyException(String message, Throwable cause)
Creates a newDataConsistencyException
with the designated message and the designated cause.- Parameters:
message
- The message for the createdDataConsistencyException
.cause
- The cause for the createdDataConsistencyException
.
-
-