stringBuilder.append("gateway - ").append(gatewayName);
stringBuilder.append("token id - ").append(tokenId);
log.debug(stringBuilder.toString(), e);
throw new CredentialStoreException(stringBuilder.toString(), e);
} catch (ClassNotFoundException e) {
StringBuilder stringBuilder = new StringBuilder("Error retrieving credentials for community user. Error "
+ "de-serializing credential objects.");
stringBuilder.append("gateway - ").append(gatewayName);
stringBuilder.append("token id - ").append(tokenId);
log.debug(stringBuilder.toString(), e);
throw new CredentialStoreException(stringBuilder.toString(), e);
} catch (IOException e) {
StringBuilder stringBuilder = new StringBuilder("Error retrieving credentials for community user. Error "
+ "de-serializing credential objects. An IO Error.");
stringBuilder.append("gateway - ").append(gatewayName);
stringBuilder.append("tokenId - ").append(tokenId);
log.debug(stringBuilder.toString(), e);
throw new CredentialStoreException(stringBuilder.toString(), e);
} finally {
DBUtil.cleanup(preparedStatement);
}
return null;