// needs to set message type at this point
ex.setMessageType(getKey());
throw ex;
} catch (Throwable th) {
LOGGER.error("validation error", th);
SCMPValidatorException validatorException = new SCMPValidatorException();
validatorException.setMessageType(getKey());
throw validatorException;
}
}