|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--oracle.olapi.transaction.NotCommittableException | +--oracle.express.olapi.transaction.PrepareLockException
Indicates that another Transaction
must be prepared and committed before the current Transaction
can be prepared. This exception occurs when, for example, you create a child Transaction
, t2
, of a parent Transaction
, t1
, then create a child Transaction
, t3
, of t2
, and then you try to prepare and commit t2
before you prepare and commit t3
. You must either prepare and commit, or rollback, the child Transaction
t3
before you can prepare and commit the parent Transaction
t2
.
Method Summary | |
java.lang.String |
getLocalizedMessage() Gets a message in the language of the default Locale for the Java Virtual Machine in which the OLAP API application is running. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale) Gets a message in the language of the specified Locale . |
oracle.express.olapi.transaction.ExpressTransaction |
getLockTransaction() Gets the ExpressTransaction that must be prepared and committed or rolled back before you can prepare and commit the ExpressTransaction returned by the getSubtransaction method. |
java.lang.String |
getMessage() Gets a message in the language of the default Locale for the Java Virtual Machine in which the OLAP API application is running. |
oracle.express.olapi.transaction.ExpressTransaction |
getSubtransaction() Gets the ExpressTransaction the preparation of which caused this exception to occur. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getLocalizedMessage(java.util.Locale locale) throws java.util.MissingResourceException
Locale
.locale
- The Locale
that specifies the language of the message.Locale
.public java.lang.String getLocalizedMessage()
Locale
for the Java Virtual Machine in which the OLAP API application is running.Locale
.public java.lang.String getMessage()
Locale
for the Java Virtual Machine in which the OLAP API application is running. This method returns the same message as the getLocalizedMessage
method with no Locale
parameter specified.Locale
.public oracle.express.olapi.transaction.ExpressTransaction getSubtransaction()
ExpressTransaction
the preparation of which caused this exception to occur.ExpressTransaction
the preparation of which failed.public oracle.express.olapi.transaction.ExpressTransaction getLockTransaction()
ExpressTransaction
that must be prepared and committed or rolled back before you can prepare and commit the ExpressTransaction
returned by the getSubtransaction
method.ExpressTransaction
that was already prepared.
|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |