001package org.nuxeo.box.api.marshalling.exceptions;
002
003public abstract class BoxSDKException extends Exception {
004
005    private static final long serialVersionUID = 1L;
006
007    public BoxSDKException(String message) {
008        super(message);
009    }
010
011    public BoxSDKException(Exception exception) {
012        super(exception);
013    }
014
015    public BoxSDKException() {
016        super();
017    }
018
019    /**
020     * Status code of this exception. This could be helpful for exception wrapping http responses. By default, it is -1.
021     */
022    public int getStatusCode() {
023        return -1;
024    }
025
026}