Log.log(Log.ERROR, MODULE, "Exception while loading the MacOSXAdapter:");
Log.log(Log.LEVEL_ERROR, MODULE, "Exception while loading the MacOSXAdapter:");
	public void handleQuit(ApplicationEvent ae) {		if (mainApplication != null) {			try {				ae.setHandled(false);				Class caller = Class.forName(mainApplication.getClass().getName());				Method callMethod = caller.getDeclaredMethod(quitMethod, null);				if (callMethod != null) {					callMethod.invoke(mainApplication, null);				}			} catch (NoClassDefFoundError e) {				Log.log(Log.ERROR, MODULE, "This version of Mac OS X does not support the Apple EAWT.  Application Menu handling has been disabled (" + e + ")");			} catch (ClassNotFoundException e) {				Log.log(Log.ERROR, MODULE, "This version of Mac OS X does not support the Apple EAWT.  Application Menu handling has been disabled (" + e + ")");			} catch (Exception e) {				Log.log(Log.ERROR, MODULE, "Exception while loading the MacOSXAdapter:");				e.printStackTrace();			}		} else {			throw new IllegalStateException("handleQuit: mainApplication instance detached");		}	}