Class MpMetricsArithmeticExceptionMapper
- java.lang.Object
-
- org.eclipse.microprofile.metrics.test.optional.MpMetricsArithmeticExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<ArithmeticException>
@Provider public class MpMetricsArithmeticExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<ArithmeticException>
-
-
Constructor Summary
Constructors Constructor Description MpMetricsArithmeticExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsetoResponse(ArithmeticException ex)
-
-
-
Method Detail
-
toResponse
public jakarta.ws.rs.core.Response toResponse(ArithmeticException ex)
- Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<ArithmeticException>
-
-