Class ConfigurationException

    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurationException​(java.lang.String reason)
      Notice: The error reason should always be set for ease of use.
      ConfigurationException​(java.lang.String parameter, java.lang.String badValue, java.lang.String correctValue, java.lang.String reason)
      Notice: The error reason should always be set for ease of use.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCorrectValue()  
      java.lang.String getParameter()  
      • 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.String parameter,
                                      java.lang.String badValue,
                                      java.lang.String correctValue,
                                      java.lang.String reason)
        Notice: The error reason should always be set for ease of use.
        Parameters:
        parameter - The error parameter
        badValue - The bad value
        correctValue - The correct value (if it could be listed)
        reason - The reason why lead to the exception
      • ConfigurationException

        public ConfigurationException​(java.lang.String reason)
        Notice: The error reason should always be set for ease of use.
    • Method Detail

      • getParameter

        public java.lang.String getParameter()
      • getCorrectValue

        public java.lang.String getCorrectValue()