Class NeverUsedExceptionMapper
java.lang.Object
ee.jakarta.tck.ws.rs.spec.filter.exception.NeverUsedExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Exception>
@Provider
public class NeverUsedExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<Exception>
This exception mapper shall never be used. If used, than the Spec. is not
followed for various set of reasons such as 1)RuntimeExceptionMapper should
be used first 2) RuntimeExceptionMapper has once been used and after
consequent exception no Exception mapper should be used, as defined in
Section 6.7 of the Spec. 3) Checked Exception (e.g. IOException) has been
unexpectedly thrown
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NeverUsedExceptionMapper
public NeverUsedExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<Exception>
-