All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.box.restclientv2.exceptions.BoxSDKException Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.box.restclientv2.exceptions;

public abstract class BoxSDKException extends Exception {

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

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

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

    public BoxSDKException() {
        super();
    }

    /**
     * Status code of this exception. This could be helpful for exception wrapping http responses. By default, it is -1.
     */
    public int getStatusCode() {
        return -1;
    }

    private static final long serialVersionUID = 1L;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy