Class IncompletePathException

All Implemented Interfaces:
Serializable

public class IncompletePathException extends AppException
This exception is used to indicate an invalid attribute path.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • IncompletePathException

      public IncompletePathException(String remainingPath, Collection<IEntityInstance> instances)
      Constructs the exception with the remaining path and the instances that could be located.
      Parameters:
      remainingPath - The path that could not be resolved.
      instances - The instances that could be resolved up to the remaining path.
  • Method Details

    • getRemainingPath

      public String getRemainingPath()
      This method returns the path which could not be resolved.
      Returns:
      the path which could not be resolved.
    • getResolvedInstances

      public IEntityInstance[] getResolvedInstances()
      This method returns an array of instances that could be resolved to the point of the remaining path.
      Returns:
      an array of instances that could be resolved to the point of the remaining path.