Skip to content
Snippets Groups Projects
Commit f8f84fe6 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

cleans up.

parent 1ce2fd82
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ public class BusinessException extends Exception implements Serializable { ...@@ -20,7 +20,7 @@ public class BusinessException extends Exception implements Serializable {
/** /**
* The Status. * The Status.
*/ */
Response.Status status; final Response.Status status;
/** /**
* Instantiates a new Business exception. * Instantiates a new Business exception.
......
package fr.univtln.bruno.samples.jaxrs.mappers; package fr.univtln.bruno.samples.jaxrs.mappers;
import fr.univtln.bruno.samples.jaxrs.exceptions.BusinessException; import fr.univtln.bruno.samples.jaxrs.exceptions.BusinessException;
import jakarta.ws.rs.core.Context;
import jakarta.ws.rs.core.HttpHeaders;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.ext.ExceptionMapper; import jakarta.ws.rs.ext.ExceptionMapper;
import jakarta.ws.rs.ext.Provider; import jakarta.ws.rs.ext.Provider;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment