Class OAuthException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.scribejava.core.exceptions.OAuthException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OAuth2AccessTokenErrorResponse
,OAuthParametersMissingException
,OAuthSignatureException
public class OAuthException extends RuntimeException
Default ScribeJava exception. Represents a problem in the OAuth signing process- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuthException(Exception e)
Exception constructor.OAuthException(String message)
No-exception constructor.OAuthException(String message, Exception e)
Default constructor
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OAuthException
public OAuthException(String message, Exception e)
Default constructor- Parameters:
message
- message explaining what went wronge
- original exception
-
OAuthException
public OAuthException(String message)
No-exception constructor. Used when there is no original exception- Parameters:
message
- message explaining what went wrong
-
OAuthException
public OAuthException(Exception e)
Exception constructor. Used to simply wrap an exception.- Parameters:
e
- original exception
-
-