public void set ( TYPE_1 value ) throws TYPE_2 { if ( value instanceof TYPE_3 ) { this . value = ( ( TYPE_3 ) ( value ) ) ; } else { throw new TYPE_2 ( STRING_1 ) ; } }
public void set ( TYPE_1 value ) throws TYPE_2 { this . value = new TYPE_3 ( value . intValue ( ) ) ; }