Package org.omg.DynamicAny.DynAnyPackage

Examples of org.omg.DynamicAny.DynAnyPackage.InvalidValue


      throws InvalidValue
   {
      checkDestroyed ();
      if( has_no_active_member() )
      {
         throw new InvalidValue();
      }

      return member;
   }
View Full Code Here


      throws InvalidValue
   {
      checkDestroyed ();
      if( has_no_active_member() )
      {
         throw new InvalidValue();
      }

      return member.type().kind();
   }
View Full Code Here

      throws InvalidValue
   {
      checkDestroyed ();
      if( has_no_active_member() )
      {
         throw new InvalidValue();
      }
      return memberName;
   }
View Full Code Here

      {
         set_as_ulong(i);
      }
      else
      {
         throw new InvalidValue();
      }
   }
View Full Code Here

      throws InvalidValue
   {
      checkDestroyed ();
      if( arg < 0 || arg > max )
      {
         throw new InvalidValue();
      }

      enumValue = arg;
   }
View Full Code Here

      throws TypeMismatch, InvalidValue
   {
      checkDestroyed ();
      if( value.length != limit )
      {
         throw new InvalidValue();
      }

      for( int i = value.length; i-- > 0 ;)
      {
         org.omg.CORBA.TypeCode tc =
View Full Code Here

         anyRepresentation = (org.jacorb.orb.Any)orb.create_any();
         anyRepresentation.read_value( value.create_input_stream(), type());
      }
      catch( Exception e)
      {
         throw new InvalidValue(e.toString());
      }
   }
View Full Code Here

        {
            throw new TypeMismatch ();
        }
        if (pos == -1)
        {
            throw new InvalidValue ();
        }
        return members[pos].id;
    }
View Full Code Here

        {
            throw new TypeMismatch ();
        }
        if (pos == -1)
        {
            throw new InvalidValue ();
        }
        return members[pos].value.type().kind();
    }
View Full Code Here

            pos = 0;
         }

         if( limit != 0 && length > limit )
         {
            throw new InvalidValue();
         }

         members.clear();
         elementType = TypeCode.originalType( type().content_type() );
View Full Code Here

TOP

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

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.