Class OAuthException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.scribejava.core.exceptions.OAuthException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
OAuthParametersMissingException
,OAuthResponseException
,OAuthSignatureException
public class OAuthException
extends java.lang.RuntimeException
Default ScribeJava exception. Represents a problem in the OAuth signing
process
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OAuthException(java.lang.Exception e)
Exception constructor.OAuthException(java.lang.String message)
No-exception constructor.OAuthException(java.lang.String message, java.lang.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
OAuthException
public OAuthException(java.lang.String message, java.lang.Exception e)Default constructor- Parameters:
message
- message explaining what went wronge
- original exception
-
OAuthException
public OAuthException(java.lang.String message)No-exception constructor. Used when there is no original exception- Parameters:
message
- message explaining what went wrong
-
OAuthException
public OAuthException(java.lang.Exception e)Exception constructor. Used to simply wrap an exception.- Parameters:
e
- original exception
-