public class UserNotAuthenticatedException extends RuntimeException implements WithErrorResponse
Constructor and Description |
---|
UserNotAuthenticatedException() |
UserNotAuthenticatedException(String message)
Initializes the exception by delegating the message to the super constructor.
|
UserNotAuthenticatedException(String message,
Throwable cause)
Initializes the exception by delegating the message and the causing exception to the super constructor.
|
UserNotAuthenticatedException(Throwable cause)
Initializes the exception by delegating the causing exception to the super constructor.
|
Modifier and Type | Method and Description |
---|---|
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UserNotAuthenticatedException(String message)
message
- The exception message.public UserNotAuthenticatedException(Throwable cause)
cause
- The exception that caused the exception to be created.public UserNotAuthenticatedException(String message, Throwable cause)
message
- The exception message.cause
- The exception that caused the exception to be created.public UserNotAuthenticatedException()
@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponse
getErrorResponse
in interface WithErrorResponse
Copyright © 2019 SAP SE. All rights reserved.