
com.box.restclientv2.exceptions.BoxSDKException Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy