Class CustomerNotFoundResponseMapper
- java.lang.Object
-
- org.wso2.msf4j.client.codec.RestErrorResponseMapper<CustomerNotFoundRestServiceException>
-
- org.wso2.msf4j.example.client.exception.CustomerNotFoundResponseMapper
-
public class CustomerNotFoundResponseMapper extends org.wso2.msf4j.client.codec.RestErrorResponseMapper<CustomerNotFoundRestServiceException>
RestErrorResponseMapper which maps REST service response error to CustomerNotFoundRestServiceException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_CODE
-
Constructor Summary
Constructors Constructor Description CustomerNotFoundResponseMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<CustomerNotFoundRestServiceException>getExceptionClass()java.lang.StringgetExceptionKey()
-
-
-
Field Detail
-
ERROR_CODE
public static final java.lang.String ERROR_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExceptionKey
public java.lang.String getExceptionKey()
- Specified by:
getExceptionKeyin classorg.wso2.msf4j.client.codec.RestErrorResponseMapper<CustomerNotFoundRestServiceException>
-
getExceptionClass
public java.lang.Class<CustomerNotFoundRestServiceException> getExceptionClass()
- Specified by:
getExceptionClassin classorg.wso2.msf4j.client.codec.RestErrorResponseMapper<CustomerNotFoundRestServiceException>
-
-