private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
  stream.defaultReadObject();
  MarshalledInstance mi=(MarshalledInstance)stream.readObject();
  try {
    listener=(RemoteEventListener)mi.get(false);
  }
 catch (  Throwable e) {
    if (e instanceof Error && ThrowableConstants.retryable(e) == ThrowableConstants.BAD_OBJECT) {
      throw (Error)e;
    }
    logger.log(Level.WARNING,"failed to recover event listener",e);
  }
}

private void readObject ( ObjectInputStream stream ) throws IOException , ClassNotFoundException { stream . defaultReadObject ( ) ; MarshalledInstance mi = ( MarshalledInstance ) stream . readObject ( ) ; try { listener = ( RemoteEventListener ) mi . get ( false ) ; } catch ( Throwable e ) { if ( e instanceof Error && ThrowableConstants . retryable ( e ) == ThrowableConstants . BAD_OBJECT ) { throw ( Error ) e ; } logger . log ( Level . WARNING , "failed to recover event listener" , e ) ; } }
unmarshals the event listener .
