Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-03

oracle.olapi.transaction
Class NotPreparedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.olapi.OLAPIRuntimeException
                  extended by oracle.olapi.transaction.NotPreparedException
All Implemented Interfaces:
java.io.Serializable, HasLocalizedMessage

public class NotPreparedException
extends OLAPIRuntimeException

Indicates that the TransactionProvider has not prepared the current Transaction and therefore it cannot commit the Transaction.

See Also:
Serialized Form

Constructor Summary
NotPreparedException(Transaction transaction)
          Creates a NotPreparedException.
 
Method Summary
 Transaction getTransaction()
          Gets the Transaction that has not been prepared.
 
Methods inherited from class oracle.olapi.OLAPIRuntimeException
getLocalizedMessage, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotPreparedException

public NotPreparedException(Transaction transaction)
Creates a NotPreparedException.

Parameters:
transaction - The Transaction that has not been prepared.
Method Detail

getTransaction

public Transaction getTransaction()
Gets the Transaction that has not been prepared.

Returns:
The Transaction that has not been prepared.

Copyright © 2002, 2010, Oracle. All rights reserved.