tomdz 2005/04/02 03:19:29
Modified: src/java/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
TransactionImpl.java
Log:
Removed call to Throwable.getCause() which is available only in JDK 1.4 and
higher
Revision Changes Path
No revision
No revision
1.59.2.13 +2 -2 db-ojb/src/java/org/apache/ojb/odmg/TransactionImpl.java
Index: TransactionImpl.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/TransactionImpl.java,v
retrieving revision 1.59.2.12
retrieving revision 1.59.2.13
diff -u -r1.59.2.12 -r1.59.2.13
--- TransactionImpl.java 23 Mar 2005 16:56:29 -0000 1.59.2.12
+++ TransactionImpl.java 2 Apr 2005 11:19:29 -0000 1.59.2.13
@@ -256,7 +256,7 @@
{
log.error("Unexpected failure while locking", t);
throw new LockNotGrantedException("Locking failed for "
- + rtObject.getIdentity()+ ", nested message is:
[" + t.getCause().getClass()
+ + rtObject.getIdentity()+ ", nested exception
is: [" + t.getClass().getName()
+ ": " + t.getMessage() + "]");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]