public class ServiceNotAuthorizedException
extends java.lang.Exception
This corresponds to response code
HttpServletResponse.SC_UNAUTHORIZED
.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ServiceNotAuthorizedException()
Indicates that the requested service requires authentication.
|
ServiceNotAuthorizedException(java.lang.String message)
Constructor for ServiceNotAuthorizedException.
|
ServiceNotAuthorizedException(java.lang.String message,
java.lang.Throwable cause)
Constructor for ServiceNotAuthorizedException.
|
private static final long serialVersionUID
public ServiceNotAuthorizedException(java.lang.String message, java.lang.Throwable cause)
message
- error messagecause
- a Throwable
object.public ServiceNotAuthorizedException(java.lang.String message)
message
- error messagepublic ServiceNotAuthorizedException()