public interface ErrorResult extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addComponentKeyPath(String aComponentKeyPath) |
void |
addComponentKeyPath(String aComponentKeyPath,
boolean terminated,
boolean disabled) |
ErrorResultComponentPath |
getComponentKeyPath()
Returns a path consisting of a list of component key names
|
Throwable |
getRootCause()
Returns the underlying root cause first reported as an error
|
ErrorResultTDs |
getTDs()
Returns a collection of paths to the components that were terminated or disabled
|
void |
setDisabled() |
void |
setRootCause(Throwable aRootCause) |
void |
setTerminated() |
boolean |
wasDisabled()
Returns true if any disabling occured with this error
|
boolean |
wasTerminated()
Returns true is any termination occurred with this error
|
void setRootCause(Throwable aRootCause)
void addComponentKeyPath(String aComponentKeyPath)
void addComponentKeyPath(String aComponentKeyPath, boolean terminated, boolean disabled)
void setTerminated()
void setDisabled()
Throwable getRootCause()
ErrorResultComponentPath getComponentKeyPath()
boolean wasTerminated()
boolean wasDisabled()
ErrorResultTDs getTDs()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.