System.out.println( "exception in ObjectOutputStream.getFieldInt(): " + e );
VM.sysWrite( "exception in ObjectOutputStream.getFieldInt(): " + e );
  public static int getFieldInt (Object instance, Class declaringClass, String fieldName)    throws NoSuchFieldError {      int i = 0;      try {        // following may throw NoSuchFieldError;        Field f = declaringClass.getDeclaredField( fieldName );        f.setAccessible( true );     // to allow access to private fields        i = f.getInt(instance);      }      catch ( Exception e ) {        System.out.println( "exception in ObjectOutputStream.getFieldInt(): " + e );      }      return i;    }