Package org.apache.uima.aae.error
Interface ErrorResult
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ErrorResultBaseImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponentKeyPath
(String aComponentKeyPath) void
addComponentKeyPath
(String aComponentKeyPath, boolean terminated, boolean disabled) Returns a path consisting of a list of component key namesReturns the underlying root cause first reported as an errorgetTDs()
Returns a collection of paths to the components that were terminated or disabledvoid
void
setRootCause
(Throwable aRootCause) void
boolean
Returns true if any disabling occured with this errorboolean
Returns true is any termination occurred with this error
-
Method Details
-
setRootCause
-
addComponentKeyPath
-
addComponentKeyPath
-
setTerminated
void setTerminated() -
setDisabled
void setDisabled() -
getRootCause
Throwable getRootCause()Returns the underlying root cause first reported as an error- Returns:
- Throwable
-
getComponentKeyPath
ErrorResultComponentPath getComponentKeyPath()Returns a path consisting of a list of component key names- Returns:
- a path consisting of a list of component key names
-
wasTerminated
boolean wasTerminated()Returns true is any termination occurred with this error- Returns:
- true is any termination occurred with this error
-
wasDisabled
boolean wasDisabled()Returns true if any disabling occured with this error- Returns:
- true if any disabling occured with this error
-
getTDs
ErrorResultTDs getTDs()Returns a collection of paths to the components that were terminated or disabled- Returns:
- a collection of paths to the components that were terminated or disabled
-