diff options
Diffstat (limited to 'org/omg/PortableServer/RequestProcessingPolicyValue.java')
-rw-r--r-- | org/omg/PortableServer/RequestProcessingPolicyValue.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/org/omg/PortableServer/RequestProcessingPolicyValue.java b/org/omg/PortableServer/RequestProcessingPolicyValue.java index 139010c86..0b1ce4d0b 100644 --- a/org/omg/PortableServer/RequestProcessingPolicyValue.java +++ b/org/omg/PortableServer/RequestProcessingPolicyValue.java @@ -38,6 +38,8 @@ exception statement from your version. */ package org.omg.PortableServer; +import gnu.CORBA.Minor; + import org.omg.CORBA.BAD_OPERATION; import org.omg.CORBA.portable.IDLEntity; @@ -151,7 +153,9 @@ public class RequestProcessingPolicyValue } catch (ArrayIndexOutOfBoundsException ex) { - throw new BAD_OPERATION("Invalid enumeration code " + code); + BAD_OPERATION bad = new BAD_OPERATION("Invalid policy code " + code); + bad.minor = Minor.PolicyType; + throw bad; } } |