Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.util
Interface BIException

All Known Implementing Classes:
BIAttributeModificationException, BIAuthenticationException, BIBaseException, BIBaseRuntimeException, BICannotProceedException, BIContextNotEmptyException, BIInvalidAttributesException, BIInvalidNameException, BIInvalidPrivilegeException, BIInvalidSearchControlsException, BIInvalidSearchFilterException, BINameAlreadyBoundException, BINameNotFoundException, BINamingException, BINamingSecurityException, BINoInitialContextException, BINoPermissionException, BINotContextException, BIOperationNotSupportedException, BIPartialResultException, BISessionRuntimeException, BISizeLimitExceededException, BIUserNotFoundException, PersistenceManagerRuntimeException

public interface BIException

Methods that are supported in all BI Beans exceptions. Runtime exceptions and declared exceptions have these methods.


Method Summary
 java.lang.Throwable elementAt(int index)
          Retrieves the exception at the specified index.
 java.util.Enumeration elements()
          Retrieves An enumeration of exceptions in the exception chain.
 java.lang.Throwable getBIRootCause()
          Retrieves the root exception.
 java.lang.Throwable getPreviousException()
          Retrieves the underlying exception, if one exists.
 int size()
          Retrieves the size of the exception chain.
 java.lang.String toString()
          Retrieves the exception stack.

 

Method Detail

getPreviousException

public java.lang.Throwable getPreviousException()
Retrieves the underlying exception, if one exists.
Returns:
The previous exception, or null if there is no underlying exception.

toString

public java.lang.String toString()
Retrieves the exception stack.
Overrides:
toString in class java.lang.Object
Returns:
A concatenation of all messages from exceptions in the exception stack.

getBIRootCause

public java.lang.Throwable getBIRootCause()
Retrieves the root exception.
Returns:
the root exception.

elementAt

public java.lang.Throwable elementAt(int index)
Retrieves the exception at the specified index.
Returns:
The exception at the specified index.

elements

public java.util.Enumeration elements()
Retrieves An enumeration of exceptions in the exception chain.
Returns:
An enumeration containing the exceptions.

size

public int size()
Retrieves the size of the exception chain.
Returns:
The size of the exception chain.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.