Uses of Class
org.kiwiproject.jaxrs.exception.JaxrsException
-
Packages that use JaxrsException Package Description org.kiwiproject.jaxrs.exception -
-
Uses of JaxrsException in org.kiwiproject.jaxrs.exception
Subclasses of JaxrsException in org.kiwiproject.jaxrs.exception Modifier and Type Class Description classJaxrsBadRequestExceptionException representing a 400 Bad Request that extendsJaxrsExceptionto use Kiwi'sErrorMessage.classJaxrsConflictExceptionException representing a 409 Conflict that extendsJaxrsExceptionto use Kiwi'sErrorMessage.classJaxrsForbiddenExceptionException representing a 403 Forbidden that extendsJaxrsExceptionto use Kiwi'sErrorMessage.classJaxrsNotAuthorizedExceptionException representing a 401 Unauthorized that extendsJaxrsExceptionto use Kiwi'sErrorMessage.classJaxrsNotFoundExceptionException representing a 404 Not Found that extendsJaxrsExceptionto use Kiwi'sErrorMessage.classJaxrsValidationExceptionException representing a 422 status code that extendsJaxrsExceptionto use Kiwi'sErrorMessage.Methods in org.kiwiproject.jaxrs.exception that return JaxrsException Modifier and Type Method Description static JaxrsExceptionJaxrsException. buildJaxrsException(Throwable throwable)Static factory to construct a new instance from the givenThrowable.static JaxrsExceptionJaxrsExceptionMapper. toJaxrsException(int status, Map<String,Object> entity)Convert the given HTTP status code and an entity into aJaxrsException.static JaxrsExceptionJaxrsExceptionMapper. toJaxrsException(javax.ws.rs.core.Response response)Convert the givenResponseto aJaxrsException.Methods in org.kiwiproject.jaxrs.exception with parameters of type JaxrsException Modifier and Type Method Description static javax.ws.rs.core.ResponseJaxrsExceptionMapper. buildResponse(JaxrsException exception)Convert the givenJaxrsExceptionto a JSON response.static javax.ws.rs.core.Response.ResponseBuilderJaxrsExceptionMapper. buildResponseBuilder(JaxrsException exception)Convert the givenJaxrsExceptionto a JSON response builder.static Map<String,Object>JaxrsExceptionMapper. buildResponseEntity(JaxrsException exception)Convert the givenJaxrsExceptionto a map that can be used as a JSON response entity.javax.ws.rs.core.ResponseJaxrsExceptionMapper. toResponse(JaxrsException exception)Convert the givenJaxrsExceptionto a response containing a JSON entity.Constructor parameters in org.kiwiproject.jaxrs.exception with type arguments of type JaxrsException Constructor Description JaxrsException(List<JaxrsException> exceptions)New "aggregate" instance with given list of JaxrsException objects.
-