Add CustomException Class APIResponseException.java

Throwing one single exception when catching many different ones within the sendRequest() method of MyWaifuWrapper.java
pull/5/head
Hammy 3 years ago
parent f075da7409
commit 6717c2cd8c

@ -0,0 +1,14 @@
package org.goudham.me.exception;
import org.goudham.me.MyWaifuWrapper;
/**
* Thrown when {@link MyWaifuWrapper}
*
*/
public class APIResponseException extends Throwable {
public APIResponseException(String errorMessage, Throwable error) {
super(errorMessage, error);
}
}
Loading…
Cancel
Save