Log.logException(Log.ERROR, MODULE, e);
Log.logException(Log.LEVEL_ERROR, MODULE, e);
	private void macOSXRegistration() {		if (IS_MAC_OS_X) {			try {				Class theMacOSXAdapter;				theMacOSXAdapter = Class.forName("com.gallery.GalleryRemote.util.MacOSXAdapter");				Class[] defArgs = {JFrame.class, String.class, String.class, String.class };				Method registerMethod = theMacOSXAdapter.getDeclaredMethod("registerMacOSXApplication", defArgs);				if (registerMethod != null) {					Object[] args = { this, "showAboutBox", "shutdown", "showPreferencesDialog" };					registerMethod.invoke(theMacOSXAdapter, args);				}			} catch (NoClassDefFoundError e) {				Log.logException(Log.ERROR, MODULE, e);			} catch (ClassNotFoundException e) {				Log.logException(Log.ERROR, MODULE, e);			} catch (Exception e) {				Log.logException(Log.ERROR, MODULE, e);			}		}	}