Package org.apache.uima.aae.error
Class ErrorResultBaseImpl
java.lang.Object
org.apache.uima.aae.error.ErrorResultBaseImpl
- All Implemented Interfaces:
Serializable
,ErrorResult
- See Also:
-
Constructor Summary
Constructors -
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 aThrowable) void
boolean
Returns true if any disabling occured with this errorboolean
Returns true is any termination occurred with this error
-
Constructor Details
-
ErrorResultBaseImpl
public ErrorResultBaseImpl()
-
-
Method Details
-
addComponentKeyPath
- Specified by:
addComponentKeyPath
in interfaceErrorResult
-
addComponentKeyPath
- Specified by:
addComponentKeyPath
in interfaceErrorResult
-
getComponentKeyPath
Description copied from interface:ErrorResult
Returns a path consisting of a list of component key names- Specified by:
getComponentKeyPath
in interfaceErrorResult
- Returns:
- a path consisting of a list of component key names
-
getRootCause
Description copied from interface:ErrorResult
Returns the underlying root cause first reported as an error- Specified by:
getRootCause
in interfaceErrorResult
- Returns:
- Throwable
-
getTDs
Description copied from interface:ErrorResult
Returns a collection of paths to the components that were terminated or disabled- Specified by:
getTDs
in interfaceErrorResult
- Returns:
- a collection of paths to the components that were terminated or disabled
-
setDisabled
public void setDisabled()- Specified by:
setDisabled
in interfaceErrorResult
-
setRootCause
- Specified by:
setRootCause
in interfaceErrorResult
-
setTerminated
public void setTerminated()- Specified by:
setTerminated
in interfaceErrorResult
-
wasDisabled
public boolean wasDisabled()Description copied from interface:ErrorResult
Returns true if any disabling occured with this error- Specified by:
wasDisabled
in interfaceErrorResult
- Returns:
- true if any disabling occured with this error
-
wasTerminated
public boolean wasTerminated()Description copied from interface:ErrorResult
Returns true is any termination occurred with this error- Specified by:
wasTerminated
in interfaceErrorResult
- Returns:
- true is any termination occurred with this error
-