Class ErrorResultBaseImpl

java.lang.Object
org.apache.uima.aae.error.ErrorResultBaseImpl
All Implemented Interfaces:
Serializable, ErrorResult

public class ErrorResultBaseImpl extends Object implements ErrorResult
See Also:
  • Constructor Details

    • ErrorResultBaseImpl

      public ErrorResultBaseImpl()
  • Method Details

    • addComponentKeyPath

      public void addComponentKeyPath(String aComponentKeyPath)
      Specified by:
      addComponentKeyPath in interface ErrorResult
    • addComponentKeyPath

      public void addComponentKeyPath(String aComponentKeyPath, boolean terminated, boolean disabled)
      Specified by:
      addComponentKeyPath in interface ErrorResult
    • getComponentKeyPath

      public ErrorResultComponentPath getComponentKeyPath()
      Description copied from interface: ErrorResult
      Returns a path consisting of a list of component key names
      Specified by:
      getComponentKeyPath in interface ErrorResult
      Returns:
      a path consisting of a list of component key names
    • getRootCause

      public Throwable getRootCause()
      Description copied from interface: ErrorResult
      Returns the underlying root cause first reported as an error
      Specified by:
      getRootCause in interface ErrorResult
      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 interface ErrorResult
      Returns:
      a collection of paths to the components that were terminated or disabled
    • setDisabled

      public void setDisabled()
      Specified by:
      setDisabled in interface ErrorResult
    • setRootCause

      public void setRootCause(Throwable aThrowable)
      Specified by:
      setRootCause in interface ErrorResult
    • setTerminated

      public void setTerminated()
      Specified by:
      setTerminated in interface ErrorResult
    • wasDisabled

      public boolean wasDisabled()
      Description copied from interface: ErrorResult
      Returns true if any disabling occured with this error
      Specified by:
      wasDisabled in interface ErrorResult
      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 interface ErrorResult
      Returns:
      true is any termination occurred with this error