Class NoSuchParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.datamanagement.NoSuchParameterException
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final StringThe name of the parameter which has been requested but which does not exist. -
Constructor Summary
ConstructorsConstructorDescriptionNoSuchParameterException(String message, String parameterName) Creates aNoSuchParameterExceptionwith a caller specified (error) message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
parameterName
The name of the parameter which has been requested but which does not exist.
-
-
Constructor Details
-
NoSuchParameterException
Creates aNoSuchParameterExceptionwith 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.
-