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