/** * Test endpoint method. * @return nothing. Always throws exception. * @throws ScimException NotModifiedException is thrown. */ @GET @Path("exception/{noneMatch}") public GenericScimResource etagGetNoneMatchExceptionTest() throws ScimException { throw new NotModifiedException("Test Case None Match Exception"); }
case 304 : return new NotModifiedException(scimError, null, cause); case 400 : return new BadRequestException(scimError, cause); case 401 : return new UnauthorizedException(scimError, cause);
case 304 : return new NotModifiedException(scimError, null, cause); case 400 : return new BadRequestException(scimError, cause); case 401 : return new UnauthorizedException(scimError, cause);