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