com.filenet.rm.bds.exception

Class ErrorStack

  1. java.lang.Object
  2. extended bycom.filenet.rm.bds.exception.ErrorStack
All implemented interfaces:
java.io.Serializable

  1. public class ErrorStack
  2. extends java.lang.Object
  3. implements java.io.Serializable
This class represents the error stack portion of the transport error/exception reporting mechanism. It is contained within the BDSException class.
See Also:
Serialized Form

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
  1. void
addErrorFrame(ErrorFrame errorFrame)
Appends a new ErrorFrameto this ErrorStack.
  1. ErrorFrame[]
getErrorFrames()
The collection of ErrorFrameinstances contained by this ErrorStack.
  1. java.lang.String
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

  1. public ErrorStack(java.lang.String fault)
Constructor.
Parameters:
fault - the fault String. Can be empty or null.

ErrorStack

  1. public ErrorStack(java.lang.String fault,
  2. 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

  1. public void addErrorFrame(ErrorFrame errorFrame)
Appends a new ErrorFrame to this ErrorStack.
Parameters:
errorFrame - the ErrorFrame to append.

getFault

  1. public java.lang.String getFault( )
The ErrorStack instance's fault string.
Returns:
a fault String. Can be empty or null.

getErrorFrames

  1. public ErrorFrame[] getErrorFrames( )
The collection of ErrorFrame instances contained by this ErrorStack.
Returns:
an array of ErrorFrame instances. Can be empty or null.