Package fi.meliora.testlab.ext.crest
Class ErrorHandler
java.lang.Object
fi.meliora.testlab.ext.crest.ErrorHandler
- All Implemented Interfaces:
org.codegist.crest.handler.ErrorHandler
Our Testlab API call error handler.
- Author:
- Marko Kanala
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getResponseIfAny
(org.codegist.crest.io.Response response) <T> T
-
Constructor Details
-
ErrorHandler
public ErrorHandler()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceorg.codegist.crest.handler.ErrorHandler
- Throws:
Exception
-
getResponseIfAny
-