Class ConfigurationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConfigurationException
    extends java.lang.RuntimeException
    A ConfigurationException 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.

    A ConfigurationException is a RuntimeException because 1) configuration properties can, for the most part, only be checked at run-time, and 2) we want this to be an unchecked exception to make ESAPI easy to use and not cluttered with catching a bunch of try/catch blocks.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static long serialVersionUID  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConfigurationException

        public ConfigurationException​(java.lang.Exception e)
      • ConfigurationException

        public ConfigurationException​(java.lang.String s)
      • ConfigurationException

        public ConfigurationException​(java.lang.String s,
                                      java.lang.Throwable cause)
      • ConfigurationException

        public ConfigurationException​(java.lang.Throwable cause)