Package org.owasp.esapi.errors
A set of exception classes designed to model the error conditions that
frequently arise in enterprise web applications and web services. The
root class is the EnterpriseSecurityException and all the other
exception classes extend this basic class. The
EnterpriseSecurityException automatically logs a message in the
constructor so that a full set of security events are captured in the
logs.
-
Exception Summary Exception Description AccessControlException An AccessControlException should be thrown when a user attempts to access a resource that they are not authorized for.AuthenticationAccountsException An AuthenticationException should be thrown when anything goes wrong during login or logout.AuthenticationCredentialsException An AuthenticationException should be thrown when anything goes wrong during login or logout.AuthenticationException An AuthenticationException should be thrown when anything goes wrong during login or logout.AuthenticationHostException An AuthenticationHostException should be thrown when there is a problem with the host involved with authentication, particularly if the host changes unexpectedly.AuthenticationLoginException An AuthenticationException should be thrown when anything goes wrong during login or logout.AvailabilityException An AvailabilityException should be thrown when the availability of a limited resource is in jeopardy.CertificateException A CertificateException should be thrown for any problems that arise during processing of digital certificates.ConfigurationException AConfigurationException
should be thrown when a problem arises because of a problem in one of ESAPI's configuration files, such as a missing required property or invalid setting of a property, or missing or unreadable configuration file, etc.EncodingException An EncodingException should be thrown for any problems that occur when encoding or decoding data.EncryptionException An EncryptionException should be thrown for any problems related to encryption, hashing, or digital signatures.EncryptionRuntimeException An EncryptionRuntimeException should be thrown for any problems related to encryption, hashing, or digital signatures.EnterpriseSecurityException EnterpriseSecurityException is the base class for all security related exceptions.EnterpriseSecurityRuntimeException EnterpriseSecurityRuntimeException is the base class for all security related runtime exceptions.ExecutorException An ExecutorException should be thrown for any problems that arise during the execution of a system executable.IntegrityException An IntegrityException should be thrown when a problem with the integrity of data has been detected.IntrusionException An IntrusionException should be thrown anytime an error condition arises that is likely to be the result of an attack in progress.ValidationAvailabilityException ValidationException A ValidationException should be thrown to indicate that the data provided by the user or from some other external source does not match the validation rules that have been specified for that data.ValidationUploadException