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
public class UnresolvedParameterReferenceException extends RuntimeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnresolvedParameterReferenceException(ParameterRef[] parameterReferences, String value)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterRef[]
getParameterReferences()
Returns all parameter references found in the value of the attribute.String
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 Detail
-
UnresolvedParameterReferenceException
public UnresolvedParameterReferenceException(ParameterRef[] parameterReferences, String value)
Default constructor.- Parameters:
parameterReferences
- The parameter references.value
- The value string containing the unresolved reference.
-
-
Method Detail
-
getParameterReferences
public ParameterRef[] getParameterReferences()
Returns all parameter references found in the value of the attribute.- Returns:
- The parameter references found in the attribute value.
-
getValue
public String getValue()
The value of the attribute containing the parameter references.- Returns:
- The attribute value with the unresolved references.
-
-