if (e instanceof ConfigValSecurityException) {
throw (ConfigValSecurityException) e;
} else if (e instanceof TException) {
throw (TException) e;
} else {
TException te = new TException(e.toString());
te.initCause(e);
throw te;
}
} finally {
endFunction("get_config_value", success, ex);
}