Package org.apache.uima.aae.error
Interface ErrorResult
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
ErrorResultBaseImpl
public interface ErrorResult extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract 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 aRootCause)voidsetTerminated()booleanwasDisabled()Returns true if any disabling occured with this errorbooleanwasTerminated()Returns true is any termination occurred with this error
-
-
-
Method Detail
-
setRootCause
void setRootCause(java.lang.Throwable aRootCause)
-
addComponentKeyPath
void addComponentKeyPath(java.lang.String aComponentKeyPath)
-
addComponentKeyPath
void addComponentKeyPath(java.lang.String aComponentKeyPath, boolean terminated, boolean disabled)
-
setTerminated
void setTerminated()
-
setDisabled
void setDisabled()
-
getRootCause
java.lang.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
-
-