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 [1/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
Author: rickmcguire
Date: Fri Jul  6 03:52:10 2007
New Revision: 553831

URL: http://svn.apache.org/viewvc?view=rev&rev=553831
Log:
YOKO-232 Use of VMCID and Minor codes needs to be cleaned up in core code.


Modified:
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Any.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Context.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Delegate.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/InputStream.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/NamingContextBase.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynAny_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynValueReader.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ActiveStateHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ArgListHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/DomainHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchOADHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchServerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADAlreadyExistsHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADNotRunningHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADRunningHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAAlreadyRegisteredHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAStatusHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ProcessIDHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerActivationModeHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerAlreadyRegisteredHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerDomainHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerFactoryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerIDHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerNotRunningHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerRunningHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerStatusHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/_NoSuchPOAHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/AlreadyLinkedHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointManagerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointPOA.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootLocatorHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootManagerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootManagerPackage/AlreadyExistsHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootManagerPackage/NotFoundHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CallStackHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ClientManager.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CodeBaseProxy.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CodeConverterNone.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CollocatedServer.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ConnectTimeoutPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ConnectionReusePolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CorbalocProtocolHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CorbalocProtocolPackage/ObjectKeyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CorbalocURLSchemeHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CorbalocURLSchemePackage/ProtocolAlreadyExistsHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CorbalocURLScheme_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/CorbanameURLScheme_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/DispatchRequestHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/DispatchStrategyFactoryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/DispatchStrategyFactory_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/DispatchStrategyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/DispatchStrategyIdHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/Downcall.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/DowncallStub.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/FileURLScheme_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPClient.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnection.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPConnectionThreaded.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPIncomingMessage.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPOutgoingMessage.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/GIOPServerStarterThreaded.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/IORURLScheme_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/InitialServiceManager.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/InterceptorPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/InvalidThreadPoolHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/LocateRequestPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/LocationTransparencyPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/LoggerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/MinorCodes.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/MultiRequestSender.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ORBControl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ObjectFactory.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/PIDowncall.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ProtocolPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/RequestTimeoutPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/RetryAttributesHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/RetryPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ThreadPoolIdHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/TimeoutPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/TypeCodeFactory.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/URLRegistryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/URLRegistryPackage/SchemeAlreadyExistsHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/URLRegistry_impl.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/URLSchemeHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/URLUtil.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/UTF8Reader.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/UnknownExceptionInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/UnknownExceptionStrategyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueFactoryManager.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueReader.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ValueWriter.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/WLoggerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/ZeroPortPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableInterceptor/IMRORTHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableInterceptor/ORBInitInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableInterceptor/ObjectReferenceTemplateHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableInterceptor/PersistentORTHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableInterceptor/TransientORTHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/AcceptorConfigHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/AcceptorConfigSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/CommunicationsConcurrencyPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/DispatchStrategyPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/EndpointConfigurationPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/GIOPVersionPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/InterceptorCallPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/POAHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/POAManagerFactoryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/POAManagerHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/ServerDomainHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/SynchronizationPolicyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OBPortableServer/SynchronizationPolicyValueHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AccFactoryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AccFactoryInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AccFactoryRegistryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AccFactorySeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AcceptCBHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AcceptCBSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AcceptorHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AcceptorInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/AcceptorSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CloseCBSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactoryRegistryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConFactorySeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectCBSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ConnectorSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/CurrentHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/FactoryAlreadyExistsHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/HandleHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AccFactoryInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/AcceptorInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConFactoryInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/ConnectorInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/InetAddrHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IIOP/TransportInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/IORHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/InvalidParamHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/NoSuchFactoryHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ObjectKeyHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/OriginatorHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ParamSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/PluginIdSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileIdSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/ProfileInfoSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/SendReceiveModeHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TaggedComponentSeqHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportHelper.java
    incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OCI/TransportInfoHelper.java

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Any.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Any.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Any.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Any.java Fri Jul  6 03:52:10 2007
@@ -16,6 +16,10 @@
  */
 
 package org.apache.yoko.orb.CORBA;
+ 
+import org.apache.yoko.orb.OB.MinorCodes;
+import org.omg.CORBA.CompletionStatus;
+import org.omg.CORBA.Object;
 
 final public class Any extends org.omg.CORBA.Any {
     private org.apache.yoko.orb.OB.ORBInstance orbInstance_;
@@ -35,9 +39,15 @@
     private void checkValue(org.omg.CORBA.TCKind kind, boolean allowNull)
             throws org.omg.CORBA.BAD_OPERATION {
         if (origType_.kind().value() != kind.value())
-            throw new org.omg.CORBA.BAD_OPERATION("Type mismatch");
+            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, CompletionStatus.COMPLETED_NO);
         if (!allowNull && value_ == null)
-            throw new org.omg.CORBA.BAD_OPERATION("Null value not allowed");
+            throw new org.omg.CORBA.BAD_OPERATION(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadOperation(org.apache.yoko.orb.OB.MinorCodes.MinorNullValueNotAllowed), 
+                org.apache.yoko.orb.OB.MinorCodes.MinorNullValueNotAllowed, CompletionStatus.COMPLETED_NO);
     }
 
     private boolean compare(org.apache.yoko.orb.OCI.Buffer buf1,
@@ -209,7 +219,9 @@
                 if (len != 0 && str.length() > len)
                     throw new org.omg.CORBA.MARSHAL("string length ("
                             + str.length() + ") exceeds " + "bound (" + len
-                            + ")");
+                            + ")",  
+                            org.apache.yoko.orb.OB.MinorCodes.MinorReadStringOverflow, 
+                            CompletionStatus.COMPLETED_NO);
                 value_ = str;
             } catch (org.omg.CORBA.TypeCodePackage.BadKind ex) {
                 org.apache.yoko.orb.OB.Assert._OB_assert(false);
@@ -224,7 +236,9 @@
                 if (len != 0 && str.length() > len)
                     throw new org.omg.CORBA.MARSHAL("wstring length ("
                             + str.length() + ") exceeds " + "bound (" + len
-                            + ")");
+                            + ")", 
+                            org.apache.yoko.orb.OB.MinorCodes.MinorReadWStringOverflow, 
+                            CompletionStatus.COMPLETED_NO);
                 value_ = str;
             } catch (org.omg.CORBA.TypeCodePackage.BadKind ex) {
                 org.apache.yoko.orb.OB.Assert._OB_assert(false);
@@ -243,18 +257,26 @@
         }
 
         case org.omg.CORBA.TCKind._tk_native:
-            throw new org.omg.CORBA.MARSHAL("Native type");
+            throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorNativeNotSupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorNativeNotSupported,  
+                CompletionStatus.COMPLETED_NO);
 
         case org.omg.CORBA_2_4.TCKind._tk_local_interface:
             throw new org.omg.CORBA.MARSHAL(
-                    org.apache.yoko.orb.OB.MinorCodes
-                            .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject),
-                    org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject,
-                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject),
+                org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
 
         case org.omg.CORBA.TCKind._tk_alias:
         default:
-            throw new org.omg.CORBA.DATA_CONVERSION();
+            throw new org.omg.CORBA.DATA_CONVERSION(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeDataConversion(org.apache.yoko.orb.OB.MinorCodes.MinorNoAlias),
+                org.apache.yoko.orb.OB.MinorCodes.MinorNoAlias,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
         }
     }
 
@@ -625,14 +647,18 @@
         }
 
         case org.omg.CORBA.TCKind._tk_native:
-            throw new org.omg.CORBA.MARSHAL("Native type");
+            throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorNativeNotSupported),
+                org.apache.yoko.orb.OB.MinorCodes.MinorNativeNotSupported,  
+                CompletionStatus.COMPLETED_NO);
 
         case org.omg.CORBA_2_4.TCKind._tk_local_interface:
             throw new org.omg.CORBA.MARSHAL(
-                    org.apache.yoko.orb.OB.MinorCodes
-                            .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject),
-                    org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject,
-                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject),
+                org.apache.yoko.orb.OB.MinorCodes.MinorLocalObject,
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
 
         case org.omg.CORBA.TCKind._tk_alias:
         default:
@@ -844,11 +870,19 @@
         org.omg.CORBA.TCKind kind = origType_.kind();
         if (kind != org.omg.CORBA.TCKind.tk_objref
                 && kind != org.omg.CORBA.TCKind.tk_abstract_interface
-                && kind != org.omg.CORBA_2_4.TCKind.tk_local_interface)
-            throw new org.omg.CORBA.BAD_OPERATION("Type mismatch");
+                && kind != org.omg.CORBA_2_4.TCKind.tk_local_interface) {
+            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, CompletionStatus.COMPLETED_NO);
+        }
 
-        if (value_ != null && !(value_ instanceof org.omg.CORBA.Object))
-            throw new org.omg.CORBA.BAD_OPERATION("Type mismatch");
+        if (value_ != null && !(value_ instanceof org.omg.CORBA.Object)) {
+            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, CompletionStatus.COMPLETED_NO);
+        }
 
         return (org.omg.CORBA.Object) value_;
     }
@@ -953,12 +987,20 @@
 
         if (kind != org.omg.CORBA.TCKind.tk_value
                 && kind != org.omg.CORBA.TCKind.tk_value_box
-                && kind != org.omg.CORBA.TCKind.tk_abstract_interface)
-            throw new org.omg.CORBA.BAD_OPERATION("Type mismatch");
+                && kind != org.omg.CORBA.TCKind.tk_abstract_interface) {
+            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, CompletionStatus.COMPLETED_NO);
+        }
 
         if (kind == org.omg.CORBA.TCKind.tk_abstract_interface
-                && value_ instanceof org.omg.CORBA.Object)
-            throw new org.omg.CORBA.BAD_OPERATION("Type mismatch");
+                && value_ instanceof org.omg.CORBA.Object) {
+            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, CompletionStatus.COMPLETED_NO);
+        }
 
         if (value_ instanceof InputStream) {
             InputStream in = (InputStream) value_;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Context.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Context.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Context.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Context.java Fri Jul  6 03:52:10 2007
@@ -16,6 +16,9 @@
  */
 
 package org.apache.yoko.orb.CORBA;
+ 
+import org.apache.yoko.orb.OB.MinorCodes;
+import org.omg.CORBA.CompletionStatus;
 
 final public class Context extends org.omg.CORBA.Context {
     private org.omg.CORBA.ORB orb_;
@@ -39,8 +42,12 @@
     }
 
     public org.omg.CORBA.Context create_child(String child_ctx_name) {
-        if (child_ctx_name == null)
-            throw new org.omg.CORBA.BAD_PARAM("Illegal value for name");
+        if (child_ctx_name == null) {
+            throw new org.omg.CORBA.BAD_PARAM(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidName),
+                org.apache.yoko.orb.OB.MinorCodes.MinorInvalidName, CompletionStatus.COMPLETED_NO);
+        }
 
         Context ctx = new Context(orb_, child_ctx_name);
         ctx.parent_ = this;
@@ -49,15 +56,21 @@
     }
 
     public void set_one_value(String propname, org.omg.CORBA.Any propvalue) {
-        if (propname == null)
-            throw new org.omg.CORBA.BAD_PARAM("Illegal value for name");
-
+        if (propname == null) {
+            throw new org.omg.CORBA.BAD_PARAM(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidName),
+                org.apache.yoko.orb.OB.MinorCodes.MinorInvalidName, CompletionStatus.COMPLETED_NO);
+        }
+        
         String s;
         try {
             s = propvalue.extract_string();
         } catch (org.omg.CORBA.BAD_OPERATION ex) {
-            throw new org.omg.CORBA.BAD_TYPECODE("Value does not contain "
-                    + "a string");
+            throw new org.omg.CORBA.BAD_TYPECODE(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadTypecode(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPropertyType),
+                org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPropertyType, CompletionStatus.COMPLETED_NO);
         }
 
         //
@@ -87,20 +100,27 @@
             try {
                 s = nv.value().extract_string();
             } catch (org.omg.CORBA.SystemException ex) {
-                throw new org.omg.CORBA.BAD_TYPECODE("Value does not "
-                        + "contain a string");
+                throw new org.omg.CORBA.BAD_TYPECODE(
+                    org.apache.yoko.orb.OB.MinorCodes
+                        .describeBadTypecode(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPropertyType),
+                    org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPropertyType, CompletionStatus.COMPLETED_NO);
             }
 
-            if (nv.flags() != 0)
-                throw new org.omg.CORBA.INV_FLAG();
+            if (nv.flags() != 0) {
+                throw new org.omg.CORBA.INV_FLAG("Unsupported named value flag");
+            }
 
             values_.put(nv.name(), s);
         }
     }
 
     public void delete_values(String pattern) {
-        if (pattern == null)
-            throw new org.omg.CORBA.BAD_PARAM("Invalid pattern");
+        if (pattern == null) {
+            throw new org.omg.CORBA.BAD_PARAM(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPattern),
+                org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPattern, CompletionStatus.COMPLETED_NO);
+        }
 
         //
         // Match the pattern
@@ -136,24 +156,38 @@
             }
         }
 
-        if (!found)
-            throw new org.omg.CORBA.BAD_CONTEXT("No match for pattern `"
-                    + pattern + "'");
+        if (!found) {
+            throw new org.omg.CORBA.BAD_CONTEXT(
+               org.apache.yoko.orb.OB.MinorCodes
+                   .describeBadContext(org.apache.yoko.orb.OB.MinorCodes.MinorNoPatternMatch),
+               org.apache.yoko.orb.OB.MinorCodes.MinorNoPatternMatch, CompletionStatus.COMPLETED_NO);
+        }
     }
 
     public org.omg.CORBA.NVList get_values(String start_scope, int op_flags,
             String pattern) {
-        if (start_scope == null)
-            throw new org.omg.CORBA.BAD_PARAM("Invalid scope");
+        if (start_scope == null) {
+            throw new org.omg.CORBA.BAD_PARAM(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidScope),
+                org.apache.yoko.orb.OB.MinorCodes.MinorInvalidScope, CompletionStatus.COMPLETED_NO);
+        }
 
-        if (pattern == null)
-            throw new org.omg.CORBA.BAD_PARAM("Invalid pattern");
+        if (pattern == null) {
+            throw new org.omg.CORBA.BAD_PARAM(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPattern),
+                org.apache.yoko.orb.OB.MinorCodes.MinorInvalidPattern, CompletionStatus.COMPLETED_NO);
+        }
 
         java.util.Vector seq = new java.util.Vector();
         _OB_getValues(start_scope, op_flags, pattern, seq);
 
         if (seq.isEmpty())
-            throw new org.omg.CORBA.BAD_CONTEXT("No match found");
+            throw new org.omg.CORBA.BAD_CONTEXT(
+               org.apache.yoko.orb.OB.MinorCodes
+                   .describeBadContext(org.apache.yoko.orb.OB.MinorCodes.MinorNoPatternMatch),
+               org.apache.yoko.orb.OB.MinorCodes.MinorNoPatternMatch, CompletionStatus.COMPLETED_NO);
 
         NVList values = new NVList(orb_);
 
@@ -191,8 +225,12 @@
         // Don't do anything in this context if start_scope doesn't match name_
         //
         if (start_scope.length() != 0 && !start_scope.equals(name_)) {
-            if (parent_ == null)
-                throw new org.omg.CORBA.BAD_CONTEXT("No match found");
+            if (parent_ == null) {
+                throw new org.omg.CORBA.BAD_CONTEXT(
+                   org.apache.yoko.orb.OB.MinorCodes
+                       .describeBadContext(org.apache.yoko.orb.OB.MinorCodes.MinorNoPatternMatch),
+                   org.apache.yoko.orb.OB.MinorCodes.MinorNoPatternMatch, CompletionStatus.COMPLETED_NO);
+            }
 
             parent_._OB_getValues(start_scope, op_flags, pattern, seq);
             return;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Delegate.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Delegate.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Delegate.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/Delegate.java Fri Jul  6 03:52:10 2007
@@ -16,6 +16,7 @@
  */
 
 package org.apache.yoko.orb.CORBA;
+import org.omg.CORBA.INV_POLICY;
 
 //
 // Delegate is equivalent to OBCORBA::Object in C++
@@ -556,8 +557,13 @@
     public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self,
             int policy_type) {
         org.omg.CORBA.Policy policy = _OB_getPolicy(policy_type);
-        if (policy == null)
-            throw new org.omg.CORBA.INV_POLICY();
+        if (policy == null) {
+            throw new org.omg.CORBA.INV_POLICY(
+                    org.apache.yoko.orb.OB.MinorCodes
+                            .describeInvPolicy(org.apache.yoko.orb.OB.MinorCodes.MinorNoPolicy),
+                    org.apache.yoko.orb.OB.MinorCodes.MinorNoPolicy,
+                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+        }
         return policy;
     }
 

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/InputStream.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/InputStream.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/InputStream.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CORBA/InputStream.java Fri Jul  6 03:52:10 2007
@@ -1700,10 +1700,11 @@
                     stubImpl._set_delegate(impl._get_delegate());
                     return stubImpl;
                 } catch (IllegalAccessException ex) {
-                    throw new org.omg.CORBA.MARSHAL("Unable to create stub for class " + clz.getName());
                 } catch (InstantiationException ex) {
-                    throw new org.omg.CORBA.MARSHAL("Unable to create stub for class " + clz.getName());
                 }
+                throw new org.omg.CORBA.MARSHAL("Unable to create stub for class " + clz.getName(), 
+                    org.apache.yoko.orb.OB.MinorCodes.MinorLoadStub, 
+                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);
             }
             else {
                 try {
@@ -1714,14 +1715,13 @@
                     stubImpl._set_delegate(impl._get_delegate());
                     return stubImpl;
                 } catch (IllegalAccessException ex) {
-                    throw new org.omg.CORBA.MARSHAL("Unable to create stub for class " + clz.getName());
                 } catch (InstantiationException ex) {
-                    throw new org.omg.CORBA.MARSHAL("Unable to create stub for class " + clz.getName());
                 } catch (ClassNotFoundException ex) {
-                    throw new org.omg.CORBA.MARSHAL("Unable to locate stub for class " + clz.getName());
                 } catch (ClassCastException ex) {
-                    throw new org.omg.CORBA.MARSHAL("Unable to locate stub for class " + clz.getName());
                 }
+                throw new org.omg.CORBA.MARSHAL("Unable to create stub for class " + clz.getName(), 
+                    org.apache.yoko.orb.OB.MinorCodes.MinorLoadStub, 
+                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);
             }
         }
         // null object, just return null. 

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/NamingContextBase.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/NamingContextBase.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/NamingContextBase.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/CosNaming/NamingContextBase.java Fri Jul  6 03:52:10 2007
@@ -734,7 +734,7 @@
     protected void validateName(NameComponent[] n) throws InvalidName {
         // perform various name validations
         if (n == null) {
-            throw new BAD_PARAM(MinorCodes.MinorObjectIsNull, CompletionStatus.COMPLETED_NO);
+            throw new BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes.MinorObjectIsNull, CompletionStatus.COMPLETED_NO);
         }
 
         // Valid name?

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynAny_impl.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynAny_impl.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynAny_impl.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynAny_impl.java Fri Jul  6 03:52:10 2007
@@ -21,6 +21,7 @@
 import org.apache.yoko.orb.CORBA.InputStream;
 import org.apache.yoko.orb.CORBA.OutputStream;
 import org.apache.yoko.orb.CORBA.TypeCode;
+import org.omg.CORBA.CustomMarshal;
 
 abstract class DynAny_impl extends org.omg.CORBA.LocalObject implements
         org.omg.DynamicAny.DynAny {
@@ -447,8 +448,12 @@
         //
         // TODO: Custom valuetypes are not currently supported
         //
-        if (value instanceof org.omg.CORBA.CustomMarshal)
-            throw new org.omg.CORBA.BAD_PARAM();
+        if (value instanceof org.omg.CORBA.CustomMarshal) {
+            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);
+        }
 
         org.omg.DynamicAny.DynAny comp = current_component();
         if (comp == null)

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynValueReader.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynValueReader.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynValueReader.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/DynamicAny/DynValueReader.java Fri Jul  6 03:52:10 2007
@@ -105,8 +105,13 @@
         org.omg.DynamicAny.DynAny result = (org.omg.DynamicAny.DynAny) instanceTable_
                 .get(new Integer(startPos));
 
-        if (result == null)
-            throw new org.omg.CORBA.MARSHAL();
+        if (result == null) {
+            throw new org.omg.CORBA.MARSHAL(
+                org.apache.yoko.orb.OB.MinorCodes
+                    .describeMarshal(org.apache.yoko.orb.OB.MinorCodes.MinorReadInvalidIndirection), 
+                org.apache.yoko.orb.OB.MinorCodes.MinorReadInvalidIndirection, 
+                org.omg.CORBA.CompletionStatus.COMPLETED_NO);
+        }
 
         return result;
     }

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ActiveStateHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ActiveStateHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ActiveStateHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ActiveStateHelper.java Fri Jul  6 03:52:10 2007
@@ -33,8 +33,10 @@
     {
         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_;
@@ -105,7 +107,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ArgListHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ArgListHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ArgListHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ArgListHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/DomainHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/DomainHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/DomainHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/DomainHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,10 @@
         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_;
@@ -105,7 +108,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchOADHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchOADHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchOADHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchOADHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static NoSuchOAD
     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);
+        }
 
         NoSuchOAD _ob_v = new NoSuchOAD();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchServerHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchServerHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchServerHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/NoSuchServerHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static NoSuchServer
     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);
+        }
 
         NoSuchServer _ob_v = new NoSuchServer();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADAlreadyExistsHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADAlreadyExistsHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADAlreadyExistsHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADAlreadyExistsHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static OADAlreadyExists
     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);
+        }
 
         OADAlreadyExists _ob_v = new OADAlreadyExists();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/OADInfoSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADInfoSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/OADNotRunningHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADNotRunningHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADNotRunningHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADNotRunningHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static OADNotRunning
     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);
+        }
 
         OADNotRunning _ob_v = new OADNotRunning();
         _ob_v.host = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADRunningHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADRunningHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADRunningHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/OADRunningHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static OADRunning
     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);
+        }
 
         OADRunning _ob_v = new OADRunning();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAAlreadyRegisteredHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAAlreadyRegisteredHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAAlreadyRegisteredHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAAlreadyRegisteredHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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_;
@@ -72,8 +75,13 @@
     public static POAAlreadyRegistered
     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);
+        }
 
         POAAlreadyRegistered _ob_v = new POAAlreadyRegistered();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/POAInfoSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAInfoSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/POANameHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/POANameSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POANameSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/POAStatusHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAStatusHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAStatusHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/POAStatusHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/ProcessIDHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ProcessIDHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ProcessIDHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ProcessIDHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/ServerActivationModeHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerActivationModeHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerActivationModeHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerActivationModeHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/ServerAlreadyRegisteredHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerAlreadyRegisteredHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerAlreadyRegisteredHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerAlreadyRegisteredHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static ServerAlreadyRegistered
     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);
+        }
 
         ServerAlreadyRegistered _ob_v = new ServerAlreadyRegistered();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerDomainHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerDomainHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerDomainHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerDomainHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,10 @@
         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_;
@@ -105,7 +108,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerFactoryHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerFactoryHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerFactoryHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerFactoryHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,10 @@
         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_;
@@ -105,7 +108,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,10 @@
         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_;
@@ -105,7 +108,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerIDHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerIDHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerIDHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerIDHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/ServerNotRunningHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerNotRunningHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerNotRunningHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerNotRunningHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static ServerNotRunning
     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);
+        }
 
         ServerNotRunning _ob_v = new ServerNotRunning();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerRunningHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerRunningHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerRunningHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerRunningHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static ServerRunning
     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);
+        }
 
         ServerRunning _ob_v = new ServerRunning();
         _ob_v.name = in.read_string();

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerSeqHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerSeqHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerSeqHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerSeqHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/ServerStatusHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerStatusHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerStatusHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/ServerStatusHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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/IMR/_NoSuchPOAHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/_NoSuchPOAHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/_NoSuchPOAHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/IMR/_NoSuchPOAHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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 +71,13 @@
     public static _NoSuchPOA
     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);
+        }
 
         _NoSuchPOA _ob_v = new _NoSuchPOA();
         _ob_v.poa = POANameHelper.read(in);

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/AlreadyLinkedHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/AlreadyLinkedHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/AlreadyLinkedHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/AlreadyLinkedHelper.java Fri Jul  6 03:52:10 2007
@@ -36,7 +36,10 @@
         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_;
@@ -64,8 +67,13 @@
     public static AlreadyLinked
     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);
+        }
 
         AlreadyLinked _ob_v = new AlreadyLinked();
         return _ob_v;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,10 @@
         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_;
@@ -105,7 +108,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointManagerHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointManagerHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointManagerHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointManagerHelper.java Fri Jul  6 03:52:10 2007
@@ -34,7 +34,10 @@
         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_;
@@ -105,7 +108,10 @@
                 return _ob_stub;
             }
 
-            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);
         }
 
         return null;

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointPOA.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointPOA.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointPOA.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OAD/ProcessEndpointPOA.java Fri Jul  6 03:52:10 2007
@@ -110,7 +110,10 @@
             return _OB_op_stop(in, handler);
         }
 
-        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 org.omg.CORBA.portable.OutputStream

Modified: incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootLocatorHelper.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootLocatorHelper.java?view=diff&rev=553831&r1=553830&r2=553831
==============================================================================
--- incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootLocatorHelper.java (original)
+++ incubator/yoko/trunk/core/src/main/java/org/apache/yoko/orb/OB/BootLocatorHelper.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 BootLocator
     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, BootLocator 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 BootLocator
@@ -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