***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.connection
Class LoginException

com.sas.services.connection.LoginException
All Implemented Interfaces:
com.sas.util.ChainedExceptionInterface, java.io.Serializable
Direct Known Subclasses:
CredentialsException, MissingIdentityException

public class LoginException

The connection factory throws a login exception when a connection request cannot be granted because the connecting client cannot be authenticated or authorized. After a login exception has been thrown, a future connection request accompanied by different or updated credentials might succeed. In other words, a login exception does not imply a server failure.

See Also:
Serialized Form

Constructor Summary
LoginException()
          No-arg constructor.
LoginException(java.lang.String msg)
          Construct a connection factory exception with a message.
LoginException(java.lang.String msg, java.lang.Throwable nestedException)
          Construct a connection factory exception with a message and a nested exception.
LoginException(java.lang.Throwable nestedException)
          Construct a connection factory exception with a nested exception.
 
Method Summary
 boolean isLoginCallbackError()
          Get the value of the loginCallbackError attribute.
 void setLoginCallbackError(boolean loginCallbackError)
          Set the value of the loginCallbackError attribute.
 
Methods inherited from class com.sas.services.connection.ConnectionFactoryException
getRootException, getTargetException
 

Constructor Detail

LoginException

public LoginException()
No-arg constructor.


LoginException

public LoginException(java.lang.String msg)
Construct a connection factory exception with a message.

Parameters:
msg - a message providing further details about the exception

LoginException

public LoginException(java.lang.Throwable nestedException)
Construct a connection factory exception with a nested exception.

Parameters:
nestedException - the exception that caused this exception

LoginException

public LoginException(java.lang.String msg,
                      java.lang.Throwable nestedException)
Construct a connection factory exception with a message and a nested exception.

Parameters:
msg - a message providing further details about the exception
nestedException - the exception that caused this exception
Method Detail

isLoginCallbackError

public boolean isLoginCallbackError()
Get the value of the loginCallbackError attribute. This attribute is true if this exception was thrown after the execution of a User Service login callback.

Returns:
the value of the loginCallbackError attribute.

setLoginCallbackError

public void setLoginCallbackError(boolean loginCallbackError)
Set the value of the loginCallbackError attribute. This attribute is true if this exception was thrown after the execution of a User Service login callback.

Parameters:
loginCallbackError - the value of the loginCallbackError attribute.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.