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 voidaddComponentKeyPath(java.lang.String aComponentKeyPath)voidaddComponentKeyPath(java.lang.String aComponentKeyPath, boolean terminated, boolean disabled)ErrorResultComponentPathgetComponentKeyPath()Returns a path consisting of a list of component key namesjava.lang.ThrowablegetRootCause()Returns the underlying root cause first reported as an errorErrorResultTDsgetTDs()Returns a collection of paths to the components that were terminated or disabledvoidsetDisabled()voidsetRootCause(java.lang.Throwable aThrowable)voidsetTerminated()booleanwasDisabled()Returns true if any disabling occured with this errorbooleanwasTerminated()Returns true is any termination occurred with this error
-
-
-
Method Detail
-
addComponentKeyPath
public void addComponentKeyPath(java.lang.String aComponentKeyPath)
- Specified by:
addComponentKeyPathin interfaceErrorResult
-
addComponentKeyPath
public void addComponentKeyPath(java.lang.String aComponentKeyPath, boolean terminated, boolean disabled)- Specified by:
addComponentKeyPathin interfaceErrorResult
-
getComponentKeyPath
public ErrorResultComponentPath getComponentKeyPath()
Description copied from interface:ErrorResultReturns a path consisting of a list of component key names- Specified by:
getComponentKeyPathin interfaceErrorResult- Returns:
- a path consisting of a list of component key names
-
getRootCause
public java.lang.Throwable getRootCause()
Description copied from interface:ErrorResultReturns the underlying root cause first reported as an error- Specified by:
getRootCausein interfaceErrorResult- Returns:
- Throwable
-
getTDs
public ErrorResultTDs getTDs()
Description copied from interface:ErrorResultReturns a collection of paths to the components that were terminated or disabled- Specified by:
getTDsin interfaceErrorResult- Returns:
- a collection of paths to the components that were terminated or disabled
-
setDisabled
public void setDisabled()
- Specified by:
setDisabledin interfaceErrorResult
-
setRootCause
public void setRootCause(java.lang.Throwable aThrowable)
- Specified by:
setRootCausein interfaceErrorResult
-
setTerminated
public void setTerminated()
- Specified by:
setTerminatedin interfaceErrorResult
-
wasDisabled
public boolean wasDisabled()
Description copied from interface:ErrorResultReturns true if any disabling occured with this error- Specified by:
wasDisabledin interfaceErrorResult- Returns:
- true if any disabling occured with this error
-
wasTerminated
public boolean wasTerminated()
Description copied from interface:ErrorResultReturns true is any termination occurred with this error- Specified by:
wasTerminatedin interfaceErrorResult- Returns:
- true is any termination occurred with this error
-
-