public class ErrorStack
extends java.lang.Object
implements java.io.Serializable
BDSException
class.Constructor and Description |
---|
ErrorStack(java.lang.String fault)
Constructor.
|
ErrorStack(java.lang.String fault,
java.util.Collection errorFrames)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addErrorFrame(ErrorFrame errorFrame)
Appends a new
ErrorFrame to this ErrorStack . |
ErrorFrame[] |
getErrorFrames()
The collection of
ErrorFrame instances contained by this
ErrorStack . |
java.lang.String |
getFault()
The
ErrorStack instance's fault string. |
public ErrorStack(java.lang.String fault)
fault
- the fault String
. Can be empty or null
.public ErrorStack(java.lang.String fault, java.util.Collection errorFrames)
fault
- the fault String
. Can be empty or null
.errorFrames
- the Collection
of ErrorFrame
instances
contained within this ErrorStack
. Can be
empty or null
.public void addErrorFrame(ErrorFrame errorFrame)
ErrorFrame
to this ErrorStack
.errorFrame
- the ErrorFrame
to append.public java.lang.String getFault()
ErrorStack
instance's fault string.String
. Can be empty or null
.public ErrorFrame[] getErrorFrames()
ErrorFrame
instances contained by this
ErrorStack
.ErrorFrame
instances. Can be empty or null
.© Copyright IBM Corp. 2006, 2013. All Rights Reserved.