summaryrefslogtreecommitdiff
path: root/gnu/javax/rmi
diff options
context:
space:
mode:
authorAudrius Meskauskas <audriusa@Bioinformatics.org>2005-11-06 11:32:31 +0000
committerAudrius Meskauskas <audriusa@Bioinformatics.org>2005-11-06 11:32:31 +0000
commit88f7e4891055e88e79871345f4bc7f6d4f37480e (patch)
treeacd526a36b197d63469299ec76d96044e1d1be9f /gnu/javax/rmi
parent8d49ae975c9dbf726a1b95eccc12907676f57ba9 (diff)
downloadclasspath-88f7e4891055e88e79871345f4bc7f6d4f37480e.tar.gz
2005-11-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/Minor.java (IOR_missing): New minor code. * gnu/CORBA/NamingService/NameParser.java (corbaloc): Implemented file//, ftp:// and http:// support. * gnu/javax/rmi/CORBA/UtilDelegateImpl.java (mapSystemException): Set the cause directly. * org/omg/CORBA/DATA_CONVERSION.java, org/omg/CORBA/ORB.java (string_to_object): Documentation update.
Diffstat (limited to 'gnu/javax/rmi')
-rw-r--r--gnu/javax/rmi/CORBA/UtilDelegateImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/javax/rmi/CORBA/UtilDelegateImpl.java b/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
index f37f18c24..66a4e24ff 100644
--- a/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
+++ b/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
@@ -518,7 +518,7 @@ public class UtilDelegateImpl
else if (ex instanceof INV_OBJREF)
{
rex = new NoSuchObjectException(message);
- rex.initCause(ex);
+ rex.detail = ex;
}
else if (ex instanceof NO_PERMISSION)
rex = new AccessException(message, ex);
@@ -529,22 +529,22 @@ public class UtilDelegateImpl
else if (ex instanceof OBJECT_NOT_EXIST)
{
rex = new NoSuchObjectException(message);
- rex.initCause(ex);
+ rex.detail = ex;
}
else if (ex instanceof TRANSACTION_REQUIRED)
{
rex = new TransactionRequiredException(message);
- rex.initCause(ex);
+ rex.detail = ex;
}
else if (ex instanceof TRANSACTION_ROLLEDBACK)
{
rex = new TransactionRolledbackException(message);
- rex.initCause(ex);
+ rex.detail = ex;
}
else if (ex instanceof INVALID_TRANSACTION)
{
rex = new InvalidTransactionException(message);
- rex.initCause(ex);
+ rex.detail = ex;
}
else if (ex instanceof UNKNOWN)
rex = wrapException(ex.getCause());