|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-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. |
Transaction |
getLockTransaction()Gets the Transaction that must be prepared and committed or rolled back before you can prepare and commit the Transaction 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. |
Transaction |
getSubtransaction()Gets the Transaction 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 Transaction getSubtransaction()
Transaction the preparation of which caused this exception to occur.Transaction the preparation of which failed.public Transaction getLockTransaction()
Transaction that must be prepared and committed or rolled back before you can prepare and commit the Transaction returned by the getSubtransaction method.Transaction that was already prepared.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||