SyncopeClientCompositeErrorException scce = new SyncopeClientCompositeErrorException(HttpStatus.BAD_REQUEST);
if (StringUtils.isBlank(derSchemaTO.getExpression())) {
SyncopeClientException requiredValuesMissing =
new SyncopeClientException(SyncopeClientExceptionType.RequiredValuesMissing);
requiredValuesMissing.addElement("expression");
scce.addException(requiredValuesMissing);
} else if (!JexlUtil.isExpressionValid(derSchemaTO.getExpression())) {
SyncopeClientException invalidMandatoryCondition = new SyncopeClientException(
SyncopeClientExceptionType.InvalidValues);