catch (ServiceConfigurationError serviceError)
{
Throwable cause = serviceError.getCause();
if (cause != null && cause.getClass() == InstantiationException.class)
{
logger.error(Messages.CANNOT_CREATE_INSTANCE_LOG_MSG, cause.getMessage());
} else
{
logger.error(Messages.ERROR_CREATING_OBJECT_LOG_MSG, serviceError);
}
}