Package com.mku.salmon.integrity
Class IntegrityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mku.salmon.integrity.IntegrityException
-
- All Implemented Interfaces:
java.io.Serializable
public class IntegrityException extends java.lang.RuntimeException
Thrown when data are corrupt or tampered with.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IntegrityException(java.lang.String msg)
Construct an exception with a specific message.IntegrityException(java.lang.String msg, java.lang.Exception ex)
Construct an exception with a specific message and inner exception
-
-
-
Constructor Detail
-
IntegrityException
public IntegrityException(java.lang.String msg)
Construct an exception with a specific message.- Parameters:
msg
- The message
-
IntegrityException
public IntegrityException(java.lang.String msg, java.lang.Exception ex)
Construct an exception with a specific message and inner exception- Parameters:
msg
- The provided messageex
- The inner exception
-
-