diff options
Diffstat (limited to 'org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java')
-rw-r--r-- | org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java b/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java index e1f82994f..6333dfcbc 100644 --- a/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java +++ b/org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java @@ -38,6 +38,8 @@ exception statement from your version. */ package org.omg.CosNaming.NamingContextPackage; +import gnu.CORBA.Minor; + import org.omg.CORBA.Any; import org.omg.CORBA.BAD_OPERATION; import org.omg.CORBA.ORB; @@ -75,7 +77,10 @@ public abstract class NotEmptyHelper } catch (ClassCastException ex) { - throw new BAD_OPERATION(); + BAD_OPERATION bad = new BAD_OPERATION(); + bad.initCause(ex); + bad.minor = Minor.Any; + throw bad; } } |