case ResultCode.UNWILLING_TO_PERFORM_INT_VALUE:
case ResultCode.OBJECT_CLASS_VIOLATION_INT_VALUE:
case ResultCode.NOT_ALLOWED_ON_NONLEAF_INT_VALUE:
case ResultCode.NOT_ALLOWED_ON_RDN_INT_VALUE:
case ResultCode.OBJECT_CLASS_MODS_PROHIBITED_INT_VALUE:
<BUG>return SCIMException.createException(400, errorMessage);
case ResultCode.INVALID_CREDENTIALS_INT_VALUE:
return SCIMException.createException(401, errorMessage);
case ResultCode.INSUFFICIENT_ACCESS_RIGHTS_INT_VALUE:
return SCIMException.createException(403, errorMessage);
case ResultCode.NO_SUCH_OBJECT_INT_VALUE:
return SCIMException.createException(404, errorMessage);
case ResultCode.CONSTRAINT_VIOLATION_INT_VALUE:</BUG>
case ResultCode.ATTRIBUTE_OR_VALUE_EXISTS_INT_VALUE:

case ResultCode.UNWILLING_TO_PERFORM_INT_VALUE:
case ResultCode.OBJECT_CLASS_VIOLATION_INT_VALUE:
case ResultCode.NOT_ALLOWED_ON_NONLEAF_INT_VALUE:
case ResultCode.NOT_ALLOWED_ON_RDN_INT_VALUE:
case ResultCode.OBJECT_CLASS_MODS_PROHIBITED_INT_VALUE:
return new InvalidResourceException(errorMessage, e);
case ResultCode.INVALID_CREDENTIALS_INT_VALUE:
return new UnauthorizedException(errorMessage, e);
case ResultCode.INSUFFICIENT_ACCESS_RIGHTS_INT_VALUE:
return new ForbiddenException(errorMessage, e);
case ResultCode.NO_SUCH_OBJECT_INT_VALUE:
return new ResourceNotFoundException(errorMessage, e);
case ResultCode.CONSTRAINT_VIOLATION_INT_VALUE:
case ResultCode.ATTRIBUTE_OR_VALUE_EXISTS_INT_VALUE:
