Java Client API Reference 6.0.2.61

com.baan.b3.boi1
Class BoiException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.baan.b3.boi1.BoiException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BoiApplicationException, BoiSynchronizationException

public class BoiException
extends java.lang.Exception

Superclass for all exceptions generated by this package.
A BoiException differs from a normal exception in that it contains additional descriptor data structures. To understand why these are necessary, consider the situation in which a backend attempts to perform a series of actions at a client's request. Some actions succeed, some fail. The fact that the request has not completely succeeded manifests itself as one single exception in the client code. The descriptors are then used to describe the individual failure events

Version:
Build Nr 61, file version \\main\\3, 15:08:53 24-07-2006 UTC
See Also:
Serialized Form

Method Summary
 IExceptionDescriptor[] getDescriptors()
          Retrieves the descriptors for this exception.
 void printStackTrace()
          Overrides java.lang.Throwable.printStackTrace().
 void printStackTrace(java.io.PrintWriter p_out)
          Overrides java.lang.Throwable.printStackTrace(PrintWriter).
 java.lang.String toString()
          Overrides java.lang.Throwable.toString().
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDescriptors

public IExceptionDescriptor[] getDescriptors()
Retrieves the descriptors for this exception.
Threading policy: MTSafe
Returns:
an array of descriptor objects

printStackTrace

public void printStackTrace()
Overrides java.lang.Throwable.printStackTrace().
Threading policy: MTSafe
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter p_out)
Overrides java.lang.Throwable.printStackTrace(PrintWriter).
Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
p_out - see java.lang.Throwable.printStackTrace(PrintWriter)

toString

public java.lang.String toString()
Overrides java.lang.Throwable.toString().
Threading policy: MTSafe
Overrides:
toString in class java.lang.Throwable
Returns:
see java.lang.Throwable.toString()

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.