387388389390391392393
/** * before config add, delete, set, update or flush. type is in ccce */ public void preChangeNotification(ConfigContextEvent ccce) { if(! check(ccce)) throw new AFRuntimeException(result.getErrorDetails().toString()); }
340341342343344345346347348349350351352353354
Debug.printStackTrace(e); throw new AFConnectionException(e.getMessage()); } catch (ClassNotFoundException cnfe) { throw new AFRuntimeException(cnfe.toString()); } catch (Exception e) { throw new AFRuntimeException(e.getLocalizedMessage()); } finally { if (connection != null) {
513514515516517518519520
} catch(AFRuntimeStoreException af) { throw af; } catch (Exception e) { String msg = localStrings.getString( "admin.server.core.jmx.bad_server_configuration" ); sLogger.log(Level.INFO, msg, e); throw new AFRuntimeException( msg, e ); } }
177178179180181182183184
String msg; if(clientVersion == null) msg = localStrings.getString( "admin.server.core.servlet.no_client_version" ); else msg = localStrings.getString( "admin.server.core.servlet.nonsupported_client_version", clientVersion); config.setException(new AFRuntimeException(msg)); return response; }