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:
  • Constructor Details

    • UnresolvedParameterReferenceException

      public UnresolvedParameterReferenceException(ParameterRef[] parameterReferences, String value)
      Default constructor.
      Parameters:
      parameterReferences - The parameter references.
      value - The value string containing the unresolved reference.
  • Method Details

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