private void reportError(IllegalStateException e) {
Throwable cause = e.getCause();
if (cause == null) {
String errorName = e.getMessage();
ErrorMessages errorMessage = ErrorMessages.safeValueOf(errorName);
if (errorMessage != null) {
// we know this error
LOG.log(Level.WARNING, "Error getting schema for existing connector: "
+ errorMessage.toString());
return;
}
} else {
// cause != null
if (cause instanceof NamingException) {