You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
638 B
19 lines
638 B
package com.github.jreddit.oauth.exception;
|
|
|
|
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
|
|
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;
|
|
|
|
public class RedditOAuthException extends Exception {
|
|
|
|
private static final long serialVersionUID = 2403104136770312353L;
|
|
|
|
public RedditOAuthException(OAuthSystemException e) {
|
|
super("A OAuth system exception was thrown when authenticating with reddit.", e);
|
|
}
|
|
|
|
public RedditOAuthException(OAuthProblemException e) {
|
|
super("A OAuth problem exception was thrown when authenticating with reddit.", e);
|
|
}
|
|
|
|
}
|