org.owasp.esapi.errors
Class AvailabilityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.owasp.esapi.errors.EnterpriseSecurityException
org.owasp.esapi.errors.AvailabilityException
- All Implemented Interfaces:
- Serializable
public class AvailabilityException
- extends EnterpriseSecurityException
An AvailabilityException should be thrown when the availability of a limited
resource is in jeopardy. For example, if a database connection pool runs out
of connections, an availability 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 |
AvailabilityException
protected AvailabilityException()
- Instantiates a new availability exception.
AvailabilityException
public AvailabilityException(String userMessage,
String logMessage)
- Creates a new instance of AvailabilityException.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message logged
AvailabilityException
public AvailabilityException(String userMessage,
String logMessage,
Throwable cause)
- Instantiates a new AvailabilityException.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the cause
Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.