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 TypeMethodDescriptionvoidaddComponentKeyPath(String aComponentKeyPath) voidaddComponentKeyPath(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 disabledvoidvoidsetRootCause(Throwable aThrowable) voidbooleanReturns true if any disabling occured with this errorbooleanReturns true is any termination occurred with this error
-
Constructor Details
-
ErrorResultBaseImpl
public ErrorResultBaseImpl()
-
-
Method Details
-
addComponentKeyPath
- Specified by:
addComponentKeyPathin interfaceErrorResult
-
addComponentKeyPath
- Specified by:
addComponentKeyPathin interfaceErrorResult
-
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
Description copied from interface:ErrorResultReturns the underlying root cause first reported as an error- Specified by:
getRootCausein interfaceErrorResult- Returns:
- Throwable
-
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
- 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
-