incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r553831 [5/5] - in /incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb: CORBA/ CosNaming/ DynamicAny/ IMR/ OAD/ OB/ OB/BootManagerPackage/ OB/CorbalocProtocolPackage/ OB/CorbalocURLSchemePackage/ OB/URLRegistryPackage/ OBPortableIn...
Date Fri, 06 Jul 2007 10:52:18 GMT
Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static CloseCB
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, CloseCB val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static CloseCB
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -62,12 +66,20 @@
     public static CloseCB[]
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, CloseCB[] val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConFactory
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConFactory val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConFactory
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConFactoryInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConFactoryInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConFactoryInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryRegistryHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryRegistryHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryRegistryHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryRegistryHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConFactoryRegistry
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConFactoryRegistry val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConFactoryRegistry
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactorySeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactorySeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactorySeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactorySeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -62,12 +66,20 @@
     public static ConFactory[]
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConFactory[] val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConnectCB
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConnectCB val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConnectCB
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -62,12 +66,20 @@
     public static ConnectCB[]
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConnectCB[] val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static Connector
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, Connector val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static Connector
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConnectorInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConnectorInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConnectorInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -62,12 +66,20 @@
     public static Connector[]
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, Connector[] val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CurrentHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CurrentHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CurrentHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CurrentHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static Current
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, Current val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static Current
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/FactoryAlreadyExistsHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/FactoryAlreadyExistsHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/FactoryAlreadyExistsHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/FactoryAlreadyExistsHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -68,8 +72,13 @@
     public static FactoryAlreadyExists
     read(org.omg.CORBA.portable.InputStream in)
     {
-        if(!id().equals(in.read_string()))
-            throw new org.omg.CORBA.MARSHAL();
+        if(!id().equals(in.read_string())) {
+            throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadIDMismatch), 
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadIDMismatch, 
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+        }
 
         FactoryAlreadyExists _ob_v = new FactoryAlreadyExists();
         _ob_v.id = PluginIdHelper.read(in);

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/HandleHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/HandleHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/HandleHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/HandleHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AccFactoryInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AccFactoryInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AccFactoryInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AccFactoryInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static AccFactoryInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, AccFactoryInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static AccFactoryInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AcceptorInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AcceptorInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AcceptorInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AcceptorInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static AcceptorInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, AcceptorInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static AcceptorInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConFactoryInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConFactoryInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConFactoryInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConFactoryInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConFactoryInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConFactoryInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConFactoryInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static ConnectorInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, ConnectorInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static ConnectorInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/InetAddrHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/InetAddrHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/InetAddrHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/InetAddrHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/TransportInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/TransportInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/TransportInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/TransportInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static TransportInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, TransportInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static TransportInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IORHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IORHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IORHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IORHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/InvalidParamHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/InvalidParamHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/InvalidParamHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/InvalidParamHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -68,8 +72,13 @@
     public static InvalidParam
     read(org.omg.CORBA.portable.InputStream in)
     {
-        if(!id().equals(in.read_string()))
-            throw new org.omg.CORBA.MARSHAL();
+        if(!id().equals(in.read_string())) {
+            throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadIDMismatch), 
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadIDMismatch, 
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+        }
 
         InvalidParam _ob_v = new InvalidParam();
         _ob_v.reason = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/NoSuchFactoryHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/NoSuchFactoryHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/NoSuchFactoryHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/NoSuchFactoryHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -68,8 +72,13 @@
     public static NoSuchFactory
     read(org.omg.CORBA.portable.InputStream in)
     {
-        if(!id().equals(in.read_string()))
-            throw new org.omg.CORBA.MARSHAL();
+        if(!id().equals(in.read_string())) {
+            throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadIDMismatch), 
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadIDMismatch, 
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+        }
 
         NoSuchFactory _ob_v = new NoSuchFactory();
         _ob_v.id = PluginIdHelper.read(in);

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ObjectKeyHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ObjectKeyHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ObjectKeyHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ObjectKeyHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/OriginatorHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/OriginatorHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/OriginatorHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/OriginatorHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ParamSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ParamSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ParamSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ParamSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static Plugin
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, Plugin val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static Plugin
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/SendReceiveModeHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/SendReceiveModeHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/SendReceiveModeHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/SendReceiveModeHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TaggedComponentSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TaggedComponentSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TaggedComponentSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TaggedComponentSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,11 @@
         if(any.type().equivalent(type()))
             return read(any.create_input_stream());
         else
-            throw new org.omg.CORBA.BAD_OPERATION();
+
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+                org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static Transport
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, Transport val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static Transport
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,11 @@
         if(any.type().equivalent(type()))
             return narrow(any.extract_Object());
 
-        throw new org.omg.CORBA.BAD_OPERATION();
+
+        throw new org.omg.CORBA.BAD_OPERATION(
+            org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch),
+            org.apache.yoko.orb.OB.MinorCodes.MinorTypeMismatch, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     private static org.omg.CORBA.TypeCode typeCode_;
@@ -60,13 +64,21 @@
     public static TransportInfo
     read(org.omg.CORBA.portable.InputStream in)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static void
     write(org.omg.CORBA.portable.OutputStream out, TransportInfo val)
     {
-        throw new org.omg.CORBA.MARSHAL();
+        throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                        .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorWriteUnsupported,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 
     public static TransportInfo
@@ -80,6 +92,9 @@
         {
         }
 
-        throw new org.omg.CORBA.BAD_PARAM();
+        throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes
+            .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType), 
+            org.apache.yoko.orb.OB.MinorCodes.MinorIncompatibleObjectType, 
+            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
     }
 }



Mime
View raw message