com.github.scribejava.core.exceptions.OAuthException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.document.library.opener.onedrive.web
Show all versions of com.liferay.document.library.opener.onedrive.web
Liferay Document Library Opener OneDrive Web
package com.github.scribejava.core.exceptions;
/**
* Default ScribeJava exception. Represents a problem in the OAuth signing
* process
*/
public class OAuthException extends RuntimeException {
private static final long serialVersionUID = 1L;
/**
* Default constructor
*
* @param message message explaining what went wrong
* @param e original exception
*/
public OAuthException(String message, Exception e) {
super(message, e);
}
/**
* No-exception constructor. Used when there is no original exception
*
* @param message message explaining what went wrong
*/
public OAuthException(String message) {
super(message, null);
}
/**
* Exception constructor. Used to simply wrap an exception.
*
* @param e original exception
*/
public OAuthException(Exception e) {
super(e);
}
}