Package org.omg.DynamicAny.DynAnyPackage

Examples of org.omg.DynamicAny.DynAnyPackage.TypeMismatch


   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      if( any.type().kind() != org.omg.CORBA.TCKind.tk_double)
      {
         throw new TypeMismatch ();
      }
      any.insert_double(value);
   }
View Full Code Here


   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      if( any.type().kind() != org.omg.CORBA.TCKind.tk_string)
      {
         throw new TypeMismatch ();
      }
      any.insert_string(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      if( any.type().kind() != org.omg.CORBA.TCKind.tk_objref)
      {
         throw new TypeMismatch ();
      }
      any.insert_Object(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      ifany.type().kind() != org.omg.CORBA.TCKind.tk_TypeCode)
      {
         throw new TypeMismatch ();
      }
      any.insert_TypeCode(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      ifany.type().kind() != org.omg.CORBA.TCKind.tk_longlong)
      {
         throw new TypeMismatch ();
      }
      any.insert_longlong(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      ifany.type().kind() != org.omg.CORBA.TCKind.tk_ulonglong)
      {
         throw new TypeMismatch ();
      }
      any.insert_ulonglong(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      if( any.type().kind() != org.omg.CORBA.TCKind.tk_wchar)
      {
         throw new TypeMismatch ();
      }
      any.insert_wchar(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      if( any.type().kind() != org.omg.CORBA.TCKind.tk_wstring)
      {
         throw new TypeMismatch ();
      }
      any.insert_wstring(value);
   }
View Full Code Here

   {
      checkDestroyed ();
      org.omg.CORBA.Any any = getRepresentation();
      ifany.type().kind() != org.omg.CORBA.TCKind.tk_any)
      {
         throw new TypeMismatch ();
      }
      any.insert_any(value);
   }
View Full Code Here

      {
         return any.extract_boolean();
      }
      catch( org.omg.CORBA.BAD_OPERATION b )
      {
         throw new TypeMismatch();
      }
   }
View Full Code Here

TOP

Related Classes of org.omg.DynamicAny.DynAnyPackage.TypeMismatch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.