? "CLASSLOADER EXCEPTION: Error loading '%s': [%s]"
: "CLASSLOADER EXCEPTION: ClassName cannot be empty String!";
final String msg = StringUtils.format(pattern,
name,
ExceptionUtils.getRealMessage(ex));
final Level level = StringUtils.hasText(name)
? Level.FINE
: Level.SEVERE;
this.getLogger().log(level, msg, ex);
}
//-- throw exception --//