public class ErrorResultBaseImpl extends java.lang.Object implements ErrorResult
Constructor and Description |
---|
ErrorResultBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addComponentKeyPath(java.lang.String aComponentKeyPath) |
void |
addComponentKeyPath(java.lang.String aComponentKeyPath,
boolean terminated,
boolean disabled) |
ErrorResultComponentPath |
getComponentKeyPath()
Returns a path consisting of a list of component key names
|
java.lang.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(java.lang.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(java.lang.String aComponentKeyPath)
addComponentKeyPath
in interface ErrorResult
public void addComponentKeyPath(java.lang.String aComponentKeyPath, boolean terminated, boolean disabled)
addComponentKeyPath
in interface ErrorResult
public ErrorResultComponentPath getComponentKeyPath()
ErrorResult
getComponentKeyPath
in interface ErrorResult
public java.lang.Throwable getRootCause()
ErrorResult
getRootCause
in interface ErrorResult
public ErrorResultTDs getTDs()
ErrorResult
getTDs
in interface ErrorResult
public void setDisabled()
setDisabled
in interface ErrorResult
public void setRootCause(java.lang.Throwable aThrowable)
setRootCause
in interface ErrorResult
public void setTerminated()
setTerminated
in interface ErrorResult
public boolean wasDisabled()
ErrorResult
wasDisabled
in interface ErrorResult
public boolean wasTerminated()
ErrorResult
wasTerminated
in interface ErrorResult
Copyright © 2012. All Rights Reserved.