public class ErrorResultBaseImpl extends Object implements ErrorResult
| Constructor and Description |
|---|
ErrorResultBaseImpl() |
| 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 aThrowable) |
void |
setTerminated() |
boolean |
wasDisabled()
Returns true if any disabling occured with this error
|
boolean |
wasTerminated()
Returns true is any termination occurred with this error
|
public void addComponentKeyPath(String aComponentKeyPath)
addComponentKeyPath in interface ErrorResultpublic void addComponentKeyPath(String aComponentKeyPath, boolean terminated, boolean disabled)
addComponentKeyPath in interface ErrorResultpublic ErrorResultComponentPath getComponentKeyPath()
ErrorResultgetComponentKeyPath in interface ErrorResultpublic Throwable getRootCause()
ErrorResultgetRootCause in interface ErrorResultpublic ErrorResultTDs getTDs()
ErrorResultgetTDs in interface ErrorResultpublic void setDisabled()
setDisabled in interface ErrorResultpublic void setRootCause(Throwable aThrowable)
setRootCause in interface ErrorResultpublic void setTerminated()
setTerminated in interface ErrorResultpublic boolean wasDisabled()
ErrorResultwasDisabled in interface ErrorResultpublic boolean wasTerminated()
ErrorResultwasTerminated in interface ErrorResultCopyright © 2016. All rights reserved.