Package org.wso2.msf4j.client.codec
Class RestErrorResponseMapper<T extends RestServiceException>
- java.lang.Object
-
- org.wso2.msf4j.client.codec.RestErrorResponseMapper<T>
-
- Type Parameters:
T- A Class representing theExceptionwhich extendsRestServiceExceptionto be thrown for the given key
public abstract class RestErrorResponseMapper<T extends RestServiceException> extends java.lang.ObjectInterface for returning the key of typeStringfrom REST service error response to instantiate the corresponding interface
-
-
Constructor Summary
Constructors Constructor Description RestErrorResponseMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.lang.Class<T>getExceptionClass()abstract java.lang.StringgetExceptionKey()
-
-
-
Method Detail
-
getExceptionKey
public abstract java.lang.String getExceptionKey()
-
getExceptionClass
public abstract java.lang.Class<T> getExceptionClass()
-
-