Class NotAuthenticatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.confluence.api.service.exceptions.ServiceException
-
- com.atlassian.confluence.api.service.exceptions.NotAuthenticatedException
-
- All Implemented Interfaces:
Serializable
public class NotAuthenticatedException extends ServiceException
Thrown when user is not authenticated as per the semantics of the HTTP 401 'Unauthorised' status code.- Since:
- 8.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotAuthenticatedException()
NotAuthenticatedException(String message)
NotAuthenticatedException(String message, ValidationResult validationResult)
NotAuthenticatedException(String message, Throwable throwable)
NotAuthenticatedException(Throwable throwable)
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.api.service.exceptions.ServiceException
getOptionalValidationResult, optionalValidationResult, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
NotAuthenticatedException
public NotAuthenticatedException()
-
NotAuthenticatedException
public NotAuthenticatedException(String message)
-
NotAuthenticatedException
public NotAuthenticatedException(Throwable throwable)
-
NotAuthenticatedException
public NotAuthenticatedException(String message, ValidationResult validationResult)
-
-