Class UnresolvedParameterReferenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.aristaflow.adept2.model.common.viewer.UnresolvedParameterReferenceException
- All Implemented Interfaces:
Serializable
Exception thrown when a value can't be returned because it can't be parsed
because of parameter references, e.g. when a long is to be returned,
but the method is a system data consumer and there is actually a
parameter reference.
Future note: this is currently a runtime exception, however, an explicit exception handling might be useful in some situations.
- Author:
- Kevin Goeser
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedParameterReferenceException(ParameterRef[] parameterReferences, String value) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns all parameter references found in the value of the attribute.getValue()The value of the attribute containing the parameter references.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnresolvedParameterReferenceException
Default constructor.- Parameters:
parameterReferences- The parameter references.value- The value string containing the unresolved reference.
-
-
Method Details
-
getParameterReferences
Returns all parameter references found in the value of the attribute.- Returns:
- The parameter references found in the attribute value.
-
getValue
The value of the attribute containing the parameter references.- Returns:
- The attribute value with the unresolved references.
-