com.metamatrix.api.exception.security
Class LogonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.metamatrix.core.MetaMatrixCoreException
              extended by com.metamatrix.api.exception.MetaMatrixException
                  extended by com.metamatrix.api.exception.MetaMatrixProcessingException
                      extended by com.metamatrix.admin.api.exception.security.MetaMatrixSecurityException
                          extended by com.metamatrix.api.exception.security.LogonException
All Implemented Interfaces:
java.io.Serializable

public class LogonException
extends MetaMatrixSecurityException

This exception is thrown when an attempt to log in to obtain a session has failed. Possible reasons include but are not limited to:

  • The limit on the number of sessions for the user has been reached, and a new session for the user could not be established;
  • An account for the user does not exist, has been frozen or has been removed; and
  • The credentials that were supplied did not authenticate the user.
  • See Also:
    Serialized Form

    Field Summary
     
    Fields inherited from class com.metamatrix.core.MetaMatrixCoreException
    code
     
    Constructor Summary
    LogonException()
              No-Arg Constructor
    LogonException(java.lang.String message)
              Construct an instance with the message specified.
    LogonException(java.lang.String code, java.lang.String message)
              Construct an instance with the message and error code specified.
    LogonException(java.lang.Throwable e, java.lang.String message)
              Construct an instance from a message and an exception to chain to this one.
    LogonException(java.lang.Throwable e, java.lang.String code, java.lang.String message)
              Construct an instance from a message and a code and an exception to chain to this one.
     
    Method Summary
     
    Methods inherited from class com.metamatrix.api.exception.MetaMatrixException
    getChild, getFullMessage, toString
     
    Methods inherited from class com.metamatrix.core.MetaMatrixCoreException
    getCode, getMessage
     
    Methods inherited from class java.lang.Throwable
    fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
     

    Constructor Detail

    LogonException

    public LogonException()
    No-Arg Constructor


    LogonException

    public LogonException(java.lang.String message)
    Construct an instance with the message specified.

    Parameters:
    message - A message describing the exception

    LogonException

    public LogonException(java.lang.String code,
                          java.lang.String message)
    Construct an instance with the message and error code specified.

    Parameters:
    message - A message describing the exception
    code - The error code

    LogonException

    public LogonException(java.lang.Throwable e,
                          java.lang.String message)
    Construct an instance from a message and an exception to chain to this one.

    Parameters:
    code - A code denoting the exception
    e - An exception to nest within this one

    LogonException

    public LogonException(java.lang.Throwable e,
                          java.lang.String code,
                          java.lang.String message)
    Construct an instance from a message and a code and an exception to chain to this one.

    Parameters:
    e - An exception to nest within this one
    message - A message describing the exception
    code - A code denoting the exception


    Copyright © 2009. All Rights Reserved.