GigaSpaces XAP 9.7.2 API

com.gigaspaces.security
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.SecurityException
                  extended by com.gigaspaces.security.SecurityException
                      extended by com.gigaspaces.security.AuthenticationException
All Implemented Interfaces:
Serializable

public class AuthenticationException
extends SecurityException

Thrown if an authentication is invalid. An invalid authentication may be due to bad credentials (an unknown user, or bad password), or any other exception caught while trying to authenticate.

Since:
7.0.1
Author:
Moran Avigdor
See Also:
Serialized Form

Constructor Summary
AuthenticationException()
          Constructs a AuthenticationException with no detail message.
AuthenticationException(String s)
          Constructs a AuthenticationException with the specified detail message.
AuthenticationException(String message, Throwable cause)
          Creates a AuthenticationException with the specified detail message and cause.
AuthenticationException(Throwable cause)
          Creates a AuthenticationException with the specified cause and a detail message of (cause==null ?
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationException

public AuthenticationException()
Constructs a AuthenticationException with no detail message.


AuthenticationException

public AuthenticationException(String s)
Constructs a AuthenticationException with the specified detail message.

Parameters:
s - the detail message.

AuthenticationException

public AuthenticationException(String message,
                               Throwable cause)
Creates a AuthenticationException with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

AuthenticationException

public AuthenticationException(Throwable cause)
Creates a AuthenticationException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.