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


oracle.dss.bicontext
Class BINotContextException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.naming.NamingException
                    |
                    +--javax.naming.NotContextException
                          |
                          +--oracle.dss.bicontext.BINotContextException
All Implemented Interfaces:
BIException, java.io.Serializable

public class BINotContextException
extends javax.naming.NotContextException
implements BIException

Indicates that the naming operation is appropriate only for a context, but the specified object is not a context.

See Also:
Serialized Form

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.String getLocalizedMessage()
          Retrieves a message that is localized for the default locale set in the exception
 java.lang.String getMessage()
          Retrieves a message that is localized for the default locale.
 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.

 

Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, printStackTrace, printStackTrace, printStackTrace, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString

 

Methods inherited from class java.lang.Throwable
fillInStackTrace

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getPreviousException

public java.lang.Throwable getPreviousException()
Retrieves the underlying exception, if one exists.
Specified by:
getPreviousException in interface BIException
Returns:
The previous exception. If there is no previous exception, then this method returns null.

toString

public java.lang.String toString()
Retrieves the exception stack.
Specified by:
toString in interface BIException
Overrides:
toString in class javax.naming.NamingException
Returns:
A concatenation of all messages from exceptions in the exception stack.

getMessage

public java.lang.String getMessage()
Retrieves a message that is localized for the default locale.
Overrides:
getMessage in class java.lang.Throwable
Returns:
The localized message.

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Retrieves a message that is localized for the default locale set in the exception
Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
The localized message.

getBIRootCause

public java.lang.Throwable getBIRootCause()
Retrieves the root exception.
Specified by:
getBIRootCause in interface BIException
Returns:
the root exception.

elementAt

public java.lang.Throwable elementAt(int index)
Retrieves the exception at the specified index.
Specified by:
elementAt in interface BIException
Returns:
The exception at the specified index.

elements

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

size

public int size()
Retrieves the size of the exception chain.
Specified by:
size in interface BIException
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.