Class NoSuchParameterException

  • All Implemented Interfaces:
    Serializable

    public class NoSuchParameterException
    extends Exception
    This exception type may be thrown by methods to indicate that the passed parameter(s)/parameterID(s) to work on do not exist in the given context. For example, the method called by an application component to retrieve the actual value of a parameter may throw this exception if there is no corresponding parameter specified for the calling activity.
    Author:
    Markus Lauer
    See Also:
    Serialized Form
    • Field Detail

      • parameterName

        protected final String parameterName
        The name of the parameter which has been requested but which does not exist.
    • Constructor Detail

      • NoSuchParameterException

        public NoSuchParameterException​(String message,
                                        String parameterName)
        Creates a NoSuchParameterException with a caller specified (error) message.
        Parameters:
        parameterName - The name of the parameter which has been requested but which does not exist.
        message - The message with an explanation of the exception.