Package org.refcodes.exception
Class IntegrityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.exception.IntegrityException
-
- All Implemented Interfaces:
ErrorCodeAccessor
,Trap
public class IntegrityException extends AbstractRuntimeException
An integrity exception is thrown whenever the integrity of data may be violated.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description IntegrityException(java.lang.String aMessage)
Instantiates a new bug exception.IntegrityException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new bug exception.IntegrityException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new bug exception.IntegrityException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new bug exception.IntegrityException(java.lang.Throwable cause)
Instantiates a new bug exception.IntegrityException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new bug exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
-
-
-
-
Constructor Detail
-
IntegrityException
public IntegrityException(java.lang.String aMessage)
Instantiates a new bug exception.- Parameters:
aMessage
- the message
-
IntegrityException
public IntegrityException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new bug exception.- Parameters:
message
- the messagecause
- the cause
-
IntegrityException
public IntegrityException(java.lang.Throwable cause)
Instantiates a new bug exception.- Parameters:
cause
- the cause
-
IntegrityException
public IntegrityException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new bug exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
IntegrityException
public IntegrityException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new bug exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
IntegrityException
public IntegrityException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new bug exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
-