Code example for NotYetConnectedException

0
        NotYetConnectedException e = new NotYetConnectedException();
        assertNull(e.getMessage());
        assertNull(e.getLocalizedMessage());
        assertNull(e.getCause());
    } 
 
    /** 
     * @tests serialization/deserialization compatibility. 
     */ 
    @TestTargets({ 
        @TestTargetNew( 
            level = TestLevel.COMPLETE, 
            notes = "Verifies serialization/deserialization compatibility.", 
            method = "!SerializationSelf", 
            args = {} 
        ), 
        @TestTargetNew( 
            level = TestLevel.PARTIAL_COMPLETE, 
            notes = "Verifies serialization/deserialization compatibility.", 
            method = "NotYetConnectedException", 
            args = {}