Package com.atlassian.bitbucket.auth
Class AuthenticationRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.bitbucket.ServiceException
com.atlassian.bitbucket.auth.AuthenticationRequiredException
- All Implemented Interfaces:
Serializable
Indicates that authentication is required with
applicationName
and provides a URI
to authenticate- See Also:
-
Constructor Summary
ConstructorDescriptionAuthenticationRequiredException
(KeyedMessage message, Throwable cause, URI authenticationUri, String applicationName) AuthenticationRequiredException
(KeyedMessage message, URI authenticationUri, String applicationName) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.ServiceException
getKeyedMessage, getLocalizedMessage, getMessageKey
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationRequiredException
public AuthenticationRequiredException(@Nonnull KeyedMessage message, URI authenticationUri, String applicationName) -
AuthenticationRequiredException
public AuthenticationRequiredException(@Nonnull KeyedMessage message, @Nullable Throwable cause, URI authenticationUri, String applicationName)
-
-
Method Details
-
getAuthenticationUri
-
getApplicationName
-