Class MissingParameterException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MissingParameterException
    extends java.lang.RuntimeException

    MissingParameterException class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MissingParameterException​(java.lang.String missingParameter)
      Constructor for MissingParameterException.
      MissingParameterException​(java.lang.String missingParameter, java.lang.String[] requiredParameters)
      Constructor for MissingParameterException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      getMessage
      java.lang.String getMissingParameter()
      Getter for the field missingParameter.
      java.lang.String[] getRequiredParameters()
      Getter for the field requiredParameters.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • missingParameter

        protected java.lang.String missingParameter
      • requiredParameters

        protected java.lang.String[] requiredParameters
    • Constructor Detail

      • MissingParameterException

        public MissingParameterException​(java.lang.String missingParameter)

        Constructor for MissingParameterException.

        Parameters:
        missingParameter - a String object.
      • MissingParameterException

        public MissingParameterException​(java.lang.String missingParameter,
                                         java.lang.String[] requiredParameters)

        Constructor for MissingParameterException.

        Parameters:
        missingParameter - a String object.
        requiredParameters - an array of String objects.
    • Method Detail

      • getMissingParameter

        public java.lang.String getMissingParameter()

        Getter for the field missingParameter.

        Returns:
        a String object.
      • getRequiredParameters

        public java.lang.String[] getRequiredParameters()

        Getter for the field requiredParameters.

        Returns:
        an array of String objects.
      • getMessage

        public java.lang.String getMessage()

        getMessage

        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        a String object.