com.waveset.util
Class WSLoginException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.waveset.util.ExceptionWrapper
              extended bycom.waveset.util.WavesetException
                  extended bycom.waveset.util.WSLoginException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WSFailedLoginException, WSPasswordExpiredException

public class WSLoginException
extends WavesetException

Signals that user authentication failed

See Also:
Serialized Form

Nested Class Summary
static class WSLoginException.LoginError
          Used for values of the _loginErrorInfo field
 
Field Summary
static java.lang.String code_id
           
 
Constructor Summary
WSLoginException()
          Construct a WSLoginException with no message or nested throwable.
WSLoginException(java.util.List msgs)
          Construct a new WSLoginException with a list of messages.
WSLoginException(Message msg)
          Construct a new WSLoginException with a detailed message supplied as a Message object.
WSLoginException(Message msg, java.util.List loginErrorList)
          Construct a new WSLoginException with a list of login result maps
WSLoginException(Message msg, java.lang.String resName, java.lang.String accountId, int errorCode)
          Construct a new WSLoginException with a detailed message supplied as a Message object and an associated error code
WSLoginException(java.lang.String msg)
          Construct a new WSLoginException with a detailed message.
WSLoginException(java.lang.String msg, java.util.List loginErrorList)
          Construct a new WSLoginException with a list of login result maps
WSLoginException(java.lang.String msg, java.lang.String resName, java.lang.String accountId, int errorCode)
          Construct a new WSLoginException with a detailed message and an associated error code
WSLoginException(java.lang.Throwable e)
          Construct a new WSLoginException wrapping an existing exception.
 
Method Summary
 void addLoginErrorInfo(java.util.Map loginErrorInfo)
          Add the loginErrorInfo to this exceptions set of loginResults
 void addLoginErrorInfo(java.lang.String resName, java.lang.String accountId, int errorCode)
          Add the loginErrorInfo to this exceptions set of loginErrorInfos
 java.util.Map getLoginErrorInfo()
          Get this exceptions loginErrorInfo
 
Methods inherited from class com.waveset.util.WavesetException
addMessage, addMessage, breakpoint, checkBreakpoint, enableBreakpoint, getLocalizedMessage, getLocalizedMessage, getMessage, getMessage, getMessage, getMessageObject, getMessageObject, getMessageOnly, getMessages
 
Methods inherited from class com.waveset.util.ExceptionWrapper
addException, clearExceptions, describeException, getAllMessages, getException, getException, getExceptionCount, hasException, printStackTrace, printStackTrace, printStackTrace, removeException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

WSLoginException

public WSLoginException()
Construct a WSLoginException with no message or nested throwable.


WSLoginException

public WSLoginException(Message msg)
Construct a new WSLoginException with a detailed message supplied as a Message object.

Parameters:
msg - detail message

WSLoginException

public WSLoginException(Message msg,
                        java.lang.String resName,
                        java.lang.String accountId,
                        int errorCode)
Construct a new WSLoginException with a detailed message supplied as a Message object and an associated error code

Parameters:
msg - detail message
resName - name of resource login error occurred on
accountId - name of resource accountId login error occurred on
errorCode - error code

WSLoginException

public WSLoginException(Message msg,
                        java.util.List loginErrorList)
Construct a new WSLoginException with a list of login result maps

Parameters:
msg - detail message
loginErrorList - list of login result maps

WSLoginException

public WSLoginException(java.util.List msgs)
Construct a new WSLoginException with a list of messages. supplied as a Message object.

Parameters:
msgs - error messages

WSLoginException

public WSLoginException(java.lang.String msg)
Construct a new WSLoginException with a detailed message.

Parameters:
msg - detail message

WSLoginException

public WSLoginException(java.lang.String msg,
                        java.lang.String resName,
                        java.lang.String accountId,
                        int errorCode)
Construct a new WSLoginException with a detailed message and an associated error code

Parameters:
msg - detail message
resName - name of resource login error occurred on
accountId - name of resource accountId login error occurred on
errorCode - error code

WSLoginException

public WSLoginException(java.lang.String msg,
                        java.util.List loginErrorList)
Construct a new WSLoginException with a list of login result maps

Parameters:
msg - detail message
loginErrorList - list of login result maps

WSLoginException

public WSLoginException(java.lang.Throwable e)
Construct a new WSLoginException wrapping an existing exception.

The existing exception will be embedded in the new one, and its message will become the default message for the WSLoginException.

Method Detail

getLoginErrorInfo

public java.util.Map getLoginErrorInfo()
Get this exceptions loginErrorInfo


addLoginErrorInfo

public void addLoginErrorInfo(java.util.Map loginErrorInfo)
Add the loginErrorInfo to this exceptions set of loginResults


addLoginErrorInfo

public void addLoginErrorInfo(java.lang.String resName,
                              java.lang.String accountId,
                              int errorCode)
Add the loginErrorInfo to this exceptions set of loginErrorInfos