Class UnspecifiedParameterException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnspecifiedParameterException
    extends WrongParameterValueException
    Exception when a required parameter was not given.
    Since:
    0.2
    Author:
    Erich Schubert
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String parameter
      Parameter that was missing.
      private static long serialVersionUID
      Serial UID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getParameterName()
      Get the parameter name that was missing.
      • 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
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serial UID
        See Also:
        Constant Field Values
      • parameter

        private final java.lang.String parameter
        Parameter that was missing.
    • Constructor Detail

      • UnspecifiedParameterException

        public UnspecifiedParameterException​(Parameter<?> parameter)
        Constructor with missing Parameter
        Parameters:
        parameter - Missing parameter
    • Method Detail

      • getParameterName

        public java.lang.String getParameterName()
        Get the parameter name that was missing.
        Returns:
        Parameter name