- java.lang.Object
-
- org.eclipse.persistence.jpa.rs.exceptions.AbstractExceptionMapper
-
- org.eclipse.persistence.jpa.rs.exceptions.JPARSExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<JPARSException>
@Provider public class JPARSExceptionMapper extends AbstractExceptionMapper implements jakarta.ws.rs.ext.ExceptionMapper<JPARSException>
-
-
Constructor Summary
Constructors Constructor Description JPARSExceptionMapper()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
toResponse(JPARSException exception)
-
Methods inherited from class org.eclipse.persistence.jpa.rs.exceptions.AbstractExceptionMapper
buildResponse
-
-
-
-
Method Detail
-
toResponse
public jakarta.ws.rs.core.Response toResponse(JPARSException exception)
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<JPARSException>
-
-