Class NoSuchParameterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.datamanagement.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:
  • Field Details

    • parameterName

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

    • 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.