/** {@inheritDoc} */ public TypeCode get_typecode() throws TypeMismatch { try { return ((TypeCodeHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
/** {@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; } }
public TypeCode extract_TypeCode() throws BAD_OPERATION { check(TCKind._tk_TypeCode); return ((TypeCodeHolder) has).value; }