Class IncompletePathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.portal.util.IncompletePathException
- All Implemented Interfaces:
Serializable
This exception is used to indicate an invalid attribute path.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIncompletePathException
(String remainingPath, Collection<IEntityInstance> instances) Constructs the exception with the remaining path and the instances that could be located. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the path which could not be resolved.This method returns an array of instances that could be resolved to the point of the remaining path.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncompletePathException
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
This method returns the path which could not be resolved.- Returns:
- the path which could not be resolved.
-
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.
-