} else {
spiClass = classLoader.loadClass(className);
}
return spiClass.newInstance();
} catch (ClassNotFoundException x) {
throw new XWSSecurityRuntimeException(
"The " + spiName + " :" + className + " specified in META-INF/services was not found", x);
} catch (Exception x) {
throw new XWSSecurityRuntimeException(
"The " + spiName + " :" + className + " specified in META-INF/services could not be instantiated", x);
}
}