public static int SAVED_XERROR_HANDLER(long display,XErrorEvent error){
  if (saved_error_handler != 0) {
  }
  if (log.isLoggable(PlatformLogger.Level.FINE)) {
    log.fine("Unhandled XErrorEvent: " + "id=" + error.get_resourceid() + ", "+ "serial="+ error.get_serial()+ ", "+ "ec="+ error.get_error_code()+ ", "+ "rc="+ error.get_request_code()+ ", "+ "mc="+ error.get_minor_code());
  }
  return 0;
}

public static int SAVED_XERROR_HANDLER ( long display , XErrorEvent error ) { if ( saved_error_handler != 0 ) { } if ( log . isLoggable ( PlatformLogger . Level . FINE ) ) { log . fine ( "Unhandled XErrorEvent: " + "id=" + error . get_resourceid ( ) + ", " + "serial=" + error . get_serial ( ) + ", " + "ec=" + error . get_error_code ( ) + ", " + "rc=" + error . get_request_code ( ) + ", " + "mc=" + error . get_minor_code ( ) ) ; } return 0 ; }
should be called under lock .
