com.novell.zos.grid
Class GridAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.novell.zos.grid.GridException
              extended by com.novell.zos.grid.GridAuthenticationException
All Implemented Interfaces:
Serializable

public class GridAuthenticationException
extends GridException

Thrown when authentication is denied by a GMS server.

See Also:
Serialized Form

Field Summary
static int LOGIN_AUTH
          User login credentials incorrect.
static int LOGIN_ERROR
          Error while logging in.
protected  int reasonCode
          Specific reason code for the exception.
static int SESSION_AUTH
          Session credentials incorrect.
static int SESSION_EXPIRED
          Session max lifetime reached.
static int SESSION_IN_USE
          Session currently in use by another client.
static int SESSION_LOGGED_OUT
          Session already logged out by the client.
static int SESSION_REVOKED
          Session expressly revoked by the server.
static int SESSION_SERVER_AUTH
          Server failed to mutually authenticate.
static int SESSION_SHUTDOWN
          Agent told to shut down by the server.
static int SESSION_SUB_ILLEGAL
          Attempted to create a subsession of a subsession.
static int SESSION_SUB_REFUSED
          Subsession registration refused by the User or Node manager.
static int SESSION_SUB_TOO_MANY
          Maximum number of subsessions exceeded for this session.
static int SESSION_TIMED_OUT
          Session timed out due to inactivity.
 
Constructor Summary
GridAuthenticationException()
          Create a new GridAuthenticationException with no message text.
GridAuthenticationException(int reason)
          Create a new GridAuthenticationException with no message text.
GridAuthenticationException(String message)
          Create a new GridAuthenticationException.
GridAuthenticationException(String message, int reason)
          Create a new GridAuthenticationException.
GridAuthenticationException(String message, Throwable cause)
          Create a new GridAuthenticationException with a Throwable.
GridAuthenticationException(String message, Throwable cause, int reason)
          Create a new GridAuthenticationException with a Throwable.
GridAuthenticationException(Throwable cause)
          Create a new GridAuthenticationException with a Throwable.
GridAuthenticationException(Throwable cause, int reason)
          Create a new GridAuthenticationException with a Throwable.
 
Method Summary
 int getReasonCode()
          Return the integer reason code for this exception.
 
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
 

Field Detail

LOGIN_AUTH

public static final int LOGIN_AUTH
User login credentials incorrect.

See Also:
Constant Field Values

LOGIN_ERROR

public static final int LOGIN_ERROR
Error while logging in.

See Also:
Constant Field Values

SESSION_AUTH

public static final int SESSION_AUTH
Session credentials incorrect.

See Also:
Constant Field Values

SESSION_SERVER_AUTH

public static final int SESSION_SERVER_AUTH
Server failed to mutually authenticate.

See Also:
Constant Field Values

SESSION_LOGGED_OUT

public static final int SESSION_LOGGED_OUT
Session already logged out by the client.

See Also:
Constant Field Values

SESSION_TIMED_OUT

public static final int SESSION_TIMED_OUT
Session timed out due to inactivity.

See Also:
Constant Field Values

SESSION_EXPIRED

public static final int SESSION_EXPIRED
Session max lifetime reached.

See Also:
Constant Field Values

SESSION_REVOKED

public static final int SESSION_REVOKED
Session expressly revoked by the server.

See Also:
Constant Field Values

SESSION_SHUTDOWN

public static final int SESSION_SHUTDOWN
Agent told to shut down by the server.

See Also:
Constant Field Values

SESSION_IN_USE

public static final int SESSION_IN_USE
Session currently in use by another client.

See Also:
Constant Field Values

SESSION_SUB_ILLEGAL

public static final int SESSION_SUB_ILLEGAL
Attempted to create a subsession of a subsession.

See Also:
Constant Field Values

SESSION_SUB_TOO_MANY

public static final int SESSION_SUB_TOO_MANY
Maximum number of subsessions exceeded for this session.

See Also:
Constant Field Values

SESSION_SUB_REFUSED

public static final int SESSION_SUB_REFUSED
Subsession registration refused by the User or Node manager.

See Also:
Constant Field Values

reasonCode

protected int reasonCode
Specific reason code for the exception.

Constructor Detail

GridAuthenticationException

public GridAuthenticationException()
Create a new GridAuthenticationException with no message text.


GridAuthenticationException

public GridAuthenticationException(int reason)
Create a new GridAuthenticationException with no message text.


GridAuthenticationException

public GridAuthenticationException(String message)
Create a new GridAuthenticationException.

Parameters:
message - the string message for this exception.

GridAuthenticationException

public GridAuthenticationException(String message,
                                   int reason)
Create a new GridAuthenticationException.

Parameters:
message - the string message for this exception.

GridAuthenticationException

public GridAuthenticationException(Throwable cause)
Create a new GridAuthenticationException with a Throwable.

Parameters:
cause - Throwable to chain to this new exception.

GridAuthenticationException

public GridAuthenticationException(Throwable cause,
                                   int reason)
Create a new GridAuthenticationException with a Throwable.

Parameters:
cause - Throwable to chain to this new exception.

GridAuthenticationException

public GridAuthenticationException(String message,
                                   Throwable cause)
Create a new GridAuthenticationException with a Throwable.

Parameters:
message - the string message for this exception.
cause - the Throwable to chain to this new exception.

GridAuthenticationException

public GridAuthenticationException(String message,
                                   Throwable cause,
                                   int reason)
Create a new GridAuthenticationException with a Throwable.

Parameters:
message - the string message for this exception.
cause - the Throwable to chain to this new exception.
message - the string message for this exception.
cause - the Throwable to chain to this new exception.
Method Detail

getReasonCode

public int getReasonCode()
Return the integer reason code for this exception.

Returns:
The integer reason code.


Copyright 2008 Novell, Inc. All Rights Reserved.