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


oracle.dss.dataSource.common
Class OLAPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.dss.util.BIBaseException
                    |
                    +--oracle.dss.dataSource.common.QueryException
                          |
                          +--oracle.dss.dataSource.common.OLAPException
All Implemented Interfaces:
BIException, java.io.Serializable
Direct Known Subclasses:
OLAPTransactionException

public class OLAPException
extends QueryException

Thrown if the Query object catches an OLAP API Exception.

See Also:
Serialized Form

Field Summary
static int COULD_NOT_CONNECT
          Error while dealing with connecting to the database.
static int CREATE_CURSOR
          Error while creating an OLAP API cursor.
static int INTERRUPTED
          The call to the database was interrupted, probably by a call to cancel().
static int SPL_FAILURE
          Error while running SPL.
static int TRANSACTION_ERROR
          Error while dealing with transactions.

 

Constructor Summary
OLAPException(java.lang.String s, int et, java.lang.Throwable e)
          Constructor.

 

Method Summary
 int getErrorType()
          Retrieves the type of OLAP API error that was caught.

 

Methods inherited from class oracle.dss.util.BIBaseException
elementAt, elements, findException, getBIRootCause, getPreviousException, size, toString

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace

 

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

 

Field Detail

CREATE_CURSOR

public static final int CREATE_CURSOR
Error while creating an OLAP API cursor.

SPL_FAILURE

public static final int SPL_FAILURE
Error while running SPL.

TRANSACTION_ERROR

public static final int TRANSACTION_ERROR
Error while dealing with transactions.

COULD_NOT_CONNECT

public static final int COULD_NOT_CONNECT
Error while dealing with connecting to the database.

INTERRUPTED

public static final int INTERRUPTED
The call to the database was interrupted, probably by a call to cancel().
Constructor Detail

OLAPException

public OLAPException(java.lang.String s,
                     int et,
                     java.lang.Throwable e)
Constructor.
Parameters:
s - Message to display.
et - Error type
e - Previous exception to carry (may be null).
Method Detail

getErrorType

public int getErrorType()
Retrieves the type of OLAP API error that was caught.
Returns:
Enumerated type that describes the type of OLAP API error.

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


Copyright © 2003, Oracle. All Rights Reserved.