com.filenet.rm.bds.exception
Class ErrorStack
- java.lang.Object
com.filenet.rm.bds.exception.ErrorStack
All implemented interfaces:
java.io.Serializable
- public class ErrorStack
- extends java.lang.Object
- implements java.io.Serializable
BDSException
class.
See Also:
Constructor Summary
Constructor and Description |
---|
ErrorStack(java.lang.String fault)
Constructor.
|
ErrorStack(java.lang.String fault,java.util.Collection errorFrames)
Constructor.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addErrorFrame(ErrorFrame errorFrame)
Appends a new
ErrorFrame to this ErrorStack .
|
getErrorFrames()
The collection of
ErrorFrame instances contained by this
ErrorStack .
|
|
|
getFault()
The
ErrorStack instance's fault string.
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
ErrorStack
- public ErrorStack(java.lang.String fault)
Constructor.
Parameters:
fault
- the fault String
. Can be empty or null
. ErrorStack
- public ErrorStack(java.lang.String fault,
- java.util.Collection errorFrames)
Constructor.
Parameters:
fault
- the fault String
. Can be empty or null
. errorFrames
- the Collection
of ErrorFrame
instances
contained within this ErrorStack
. Can be
empty or null
. Method Detail
addErrorFrame
- public void addErrorFrame(ErrorFrame errorFrame)
Appends a new
ErrorFrame
to this ErrorStack
.
Parameters:
errorFrame
- the ErrorFrame
to append. getFault
- public java.lang.String getFault( )
The
ErrorStack
instance's fault string.
Returns:
a fault
String
. Can be empty or null
. getErrorFrames
- public ErrorFrame[] getErrorFrames( )
The collection of
ErrorFrame
instances contained by this
ErrorStack
.
Returns:
an array of
ErrorFrame
instances. Can be empty or null
.