com.box.restclientv2.exceptions.BoxSDKException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of boxjavalibv2 Show documentation
Show all versions of boxjavalibv2 Show documentation
The Java SDK for the Box API.
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;
}