ApiException.java 499 Bytes
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package pwc.taxtech.atms.exception;

import org.springframework.http.ResponseEntity;

public abstract class ApiException  extends RuntimeException  {
    public ApiException() {
        super();
    }

    public ApiException(String message) {
        super(message);
    }

    public ApiException(String message, Throwable cause) {
        super(message, cause);
    }

    public ApiException(Throwable cause) {
        super(cause);
    }

    public abstract<Object> ResponseEntity handle();
}