Code example for NonWritableChannelException

0
            args = {} 
        ) 
    }) 
    public void testSerializationSelf() throws Exception { 
 
        SerializationTest.verifySelf(new NonWritableChannelException());
    } 
 
    /** 
     * @tests serialization/deserialization compatibility with RI. 
     */ 
    @TestTargets({ 
        @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            notes = "Verifies serialization/deserialization compatibility.", 
            method = "!SerializationGolden", 
            args = {} 
        ), 
        @TestTargetNew( 
            level = TestLevel.PARTIAL_COMPLETE, 
            notes = "Verifies serialization/deserialization compatibility.",