Package org.wso2.msf4j.example.exception
Class InvoiceNotFoundMapper
- java.lang.Object
-
- org.wso2.msf4j.example.exception.InvoiceNotFoundMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<InvoiceNotFoundException>
public class InvoiceNotFoundMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<InvoiceNotFoundException>
ExceptionMapper which handles InvoiceNotFoundException.
-
-
Constructor Summary
Constructors Constructor Description InvoiceNotFoundMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(InvoiceNotFoundException ex)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(InvoiceNotFoundException ex)
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<InvoiceNotFoundException>
-
-