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