Add new exception class

pull/6/head
Hammy 3 years ago
parent 501233ddb3
commit 2aaba3527f

@ -0,0 +1,15 @@
package org.goudham.me.exception;
import org.goudham.me.MyWaifuWrapper;
import org.goudham.me.Response;
/**
* Thrown when {@link MyWaifuWrapper} fails to unmarshal json into Java POJO's ({@link Response#getEntity()})
*
*/
public class APIMapperException extends Throwable {
public APIMapperException(String errorMessage, Throwable error) {
super(errorMessage, error);
}
}
Loading…
Cancel
Save