Java Code Examples for org.omg.CORBA.TypeCodeHolder

The following are top voted examples for showing how to use org.omg.CORBA.TypeCodeHolder. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: javify   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public TypeCode get_typecode() throws TypeMismatch
{
  try
    {
      return ((TypeCodeHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
 
Example 2
Project: javify   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public void insert_typecode(TypeCode a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((TypeCodeHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
 
Example 3
Project: jvm-stm   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public TypeCode get_typecode() throws TypeMismatch
{
  try
    {
      return ((TypeCodeHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
 
Example 4
Project: jvm-stm   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public void insert_typecode(TypeCode a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((TypeCodeHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
 
Example 5
Project: JamVM-PH   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public TypeCode get_typecode() throws TypeMismatch
{
  try
    {
      return ((TypeCodeHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
 
Example 6
Project: JamVM-PH   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public void insert_typecode(TypeCode a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((TypeCodeHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
 
Example 7
Project: classpath   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public TypeCode get_typecode() throws TypeMismatch
{
  try
    {
      return ((TypeCodeHolder) holder).value;
    }
  catch (ClassCastException cex)
    {
      TypeMismatch m = new TypeMismatch();
      m.initCause(cex);
      throw m;
    }
}
 
Example 8
Project: classpath   File: gnuDynAny.java   View source code 5 votes vote down vote up
/** {@inheritDoc} */
public void insert_typecode(TypeCode a_x) throws InvalidValue, TypeMismatch
{
  try
    {
      ((TypeCodeHolder) holder).value = a_x;
      valueChanged();
    }
  catch (ClassCastException cex)
    {
      TypeMismatch t = new TypeMismatch();
      t.initCause(cex);
      throw t;
    }
}
 
Example 9
Project: javify   File: gnuAny.java   View source code 4 votes vote down vote up
public TypeCode extract_TypeCode()
                          throws BAD_OPERATION
{
  check(TCKind._tk_TypeCode);
  return ((TypeCodeHolder) has).value;
}
 
Example 10
Project: jvm-stm   File: gnuAny.java   View source code 4 votes vote down vote up
public TypeCode extract_TypeCode()
                          throws BAD_OPERATION
{
  check(TCKind._tk_TypeCode);
  return ((TypeCodeHolder) has).value;
}
 
Example 11
Project: JamVM-PH   File: gnuAny.java   View source code 4 votes vote down vote up
public TypeCode extract_TypeCode()
                          throws BAD_OPERATION
{
  check(TCKind._tk_TypeCode);
  return ((TypeCodeHolder) has).value;
}
 
Example 12
Project: classpath   File: gnuAny.java   View source code 4 votes vote down vote up
public TypeCode extract_TypeCode()
                          throws BAD_OPERATION
{
  check(TCKind._tk_TypeCode);
  return ((TypeCodeHolder) has).value;
}