public class UserAuthenticationException
extends java.security.GeneralSecurityException
Constructor and Description |
---|
UserAuthenticationException(java.lang.String message,
java.lang.String location)
Constructs a new
UserAuthenticationException instance with the specified
detailed reason message and value of the Location header field contained in the HTTP redirect
response that triggers this exception. |
UserAuthenticationException(java.lang.String message,
java.lang.String location,
java.lang.Throwable cause)
Constructs a new
UserAuthenticationException instance with the specified
detailed reason message and value of the Location header field contained in the HTTP redirect
response that triggers this exception. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocation()
Returns a URL, value of the location header field contained in the HTTP redirect response
that triggers this exception.
|
public UserAuthenticationException(java.lang.String message, java.lang.String location)
UserAuthenticationException
instance with the specified
detailed reason message and value of the Location header field contained in the HTTP redirect
response that triggers this exception. The error message string message
can later be
retrieved by the getMessage
method. The URL of the location
(@code location) can be retrieved by the
getLocation()
method.message
- the detail message (which is saved for later retrieval by
the getMessage() method)location
- a URL ,the value of the location header field contained in the HTTP
redirect response (which is saves for retrieval by the getLocation() method)public UserAuthenticationException(java.lang.String message, java.lang.String location, java.lang.Throwable cause)
UserAuthenticationException
instance with the specified
detailed reason message and value of the Location header field contained in the HTTP redirect
response that triggers this exception. The error message string message
can later be
retrieved by the getMessage
method. The URL of the location
(@code location) can be retrieved by the
getLocation()
method.message
- the detail message (which is saved for later retrieval by
the getMessage() method)location
- a URL, value of the location header field contained in the HTTP
redirect response (which is saves for retrieval by the getLocation() method)cause
- the cause (which is saved for later retrieval by the
getCause() method). (A null value is permitted, and indicates that the
cause is nonexistent or unknown)public java.lang.String getLocation()