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
    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

      Constructors 
      Constructor and Description
      ErrorStack(java.lang.String fault)
      Constructor.
      ErrorStack(java.lang.String fault, java.util.Collection errorFrames)
      Constructor.
    • Method Summary

      Methods 
      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.
      • 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.

© Copyright IBM Corp. 2006, 2013. All Rights Reserved.