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:
- java.io.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
Constructor Summary |
protected |
AvailabilityException()
Instantiates a new availability exception. |
|
AvailabilityException(java.lang.String userMessage,
java.lang.String logMessage)
Creates a new instance of AvailabilityException. |
|
AvailabilityException(java.lang.String userMessage,
java.lang.String logMessage,
java.lang.Throwable cause)
Instantiates a new AvailabilityException. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AvailabilityException
protected AvailabilityException()
- Instantiates a new availability exception.
AvailabilityException
public AvailabilityException(java.lang.String userMessage,
java.lang.String logMessage)
- Creates a new instance of AvailabilityException.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message logged
AvailabilityException
public AvailabilityException(java.lang.String userMessage,
java.lang.String logMessage,
java.lang.Throwable cause)
- Instantiates a new AvailabilityException.
- Parameters:
userMessage
- the message displayed to the userlogMessage
- the message loggedcause
- the cause
Copyright © 2010 The Open Web Application Security Project (OWASP). All Rights Reserved.