Code example for ObjectInput

Methods: readUTF

0
            } 
        } 
 
        public void readExternal(ObjectInput input) {
            try { 
                value = input.readUTF();
            } catch (IOException e) {
                e.printStackTrace();
            } 
        } 
    } 
 
    /** 
     * @tests java.io.ObjectOutputStream#useProtocolVersion(int) 
     */ 
    @TestTargetNew( 
        level = TestLevel.SUFFICIENT, 
        notes = "IOException seems to be never thrown, therefore there is no such test.", 
        method = "useProtocolVersion", 
        args = {int.class} 
    )