org.owasp.esapi.errors
Class IntegrityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.owasp.esapi.errors.EnterpriseSecurityException
org.owasp.esapi.errors.IntegrityException
- All Implemented Interfaces:
- Serializable
public class IntegrityException
- extends EnterpriseSecurityException
An IntegrityException should be thrown when a problem with the integrity of data
has been detected. For example, if a financial account cannot be reconciled after
a transaction has been performed, an integrity exception should be thrown.
- Author:
- Jeff Williams ([email protected])
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IntegrityException
protected IntegrityException()
- Instantiates a new availability exception.
IntegrityException
public IntegrityException(String userMessage,
String logMessage)
- Creates a new instance of IntegrityException.
- Parameters:
userMessage
- the message to display to userslogMessage
- the message logged
IntegrityException
public IntegrityException(String userMessage,
String logMessage,
Throwable cause)
- Instantiates a new IntegrityException.
- Parameters:
userMessage
- the message to display to userslogMessage
- the message loggedcause
- the cause
Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.