Class PropertyNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mule.runtime.api.exception.MuleRuntimeException
org.mule.runtime.ast.api.exception.PropertyNotFoundException
All Implemented Interfaces:
Serializable

public class PropertyNotFoundException extends org.mule.runtime.api.exception.MuleRuntimeException
Exception thrown when a key could not be resolved.
Since:
1.1
See Also:
  • Constructor Details

    • PropertyNotFoundException

      public PropertyNotFoundException(org.mule.runtime.api.util.Pair<String,String> resolverKeyPair)
      Creates a new instance. This constructor must be used when the resolver has no parent and was not able to resolve a key
      Parameters:
      resolverKeyPair - the resolver descriptor and the key that was not able to resolve.
    • PropertyNotFoundException

      public PropertyNotFoundException(PropertyNotFoundException propertyNotFoundException, org.mule.runtime.api.util.Pair<String,String> resolverKeyPair)
      Creates a new instance. This constructor must be used when the resolver invoke the parent and it failed because it wasn't able to resolve a key
      Parameters:
      propertyNotFoundException - exception thrown by the parent resolver.
      resolverKeyPair - the resolver descriptor and the key that was not able to resolve.
  • Method Details

    • getUnresolvedKeys

      public List<org.mule.runtime.api.util.Pair<String,String>> getUnresolvedKeys()
      Returns:
      a list with the resolvers and the keys that were not resolved. The original key not found is the first element and the last will be the main resolver.