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

com.box.boxjavalibv2.exceptions.AuthFatalFailureException Maven / Gradle / Ivy

package com.box.boxjavalibv2.exceptions;

import com.box.restclientv2.exceptions.BoxSDKException;

/**
 * Exception indicating fatal error in authentication. May need to re-authenticate.
 */
public class AuthFatalFailureException extends BoxSDKException {

    private static final long serialVersionUID = 1L;
    private boolean callerResponsibleForFix;

    /**
     * Constructor.
     */
    public AuthFatalFailureException() {
        super();
    }

    @Deprecated
    public AuthFatalFailureException(boolean callerResponsibleForFix) {
        this();
        this.callerResponsibleForFix = callerResponsibleForFix;
    }

    public AuthFatalFailureException(Exception e) {
        super(e);
    }

    /**
     * Constructor.
     */
    public AuthFatalFailureException(String message) {
        super(message);
    }

    /**
     * @return whether the caller is responsible to fix this issue.
     */
    @Deprecated
    public boolean isCallerResponsibleForFix() {
        return callerResponsibleForFix;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy