if (logger.isLoggable(BasicLevel.DEBUG))
logger.log(BasicLevel.DEBUG, "initIdentity : identity = " + identity);
} catch (ClassNotFoundException e) {
if (logger.isLoggable(BasicLevel.ERROR))
logger.log(BasicLevel.ERROR, "EXCEPTION:: initIdentity", e);
throw new JMSException(e.getClass() + ":: " + e.getMessage());
} catch (InstantiationException e) {
if (logger.isLoggable(BasicLevel.ERROR))
logger.log(BasicLevel.ERROR, "EXCEPTION:: initIdentity", e);
throw new JMSException(e.getClass() + ":: " + e.getMessage());
} catch (IllegalAccessException e) {
if (logger.isLoggable(BasicLevel.ERROR))
logger.log(BasicLevel.ERROR, "EXCEPTION:: initIdentity", e);
throw new JMSException(e.getClass() + ":: " + e.getMessage());
} catch (JMSException exc) {
throw exc;
} catch (Exception e) {
// Wrap the incoming exception.
if (logger.isLoggable(BasicLevel.ERROR))
logger.log(BasicLevel.ERROR, "EXCEPTION:: initIdentity", e);
throw new JMSException(e.getClass() + ":: " + e.getMessage());
}
}