catalog.model.exception
Class UsernameNotExistException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycatalog.model.exception.CatalogException
              extended bycatalog.model.exception.UsernameNotExistException
All Implemented Interfaces:
java.io.Serializable

public class UsernameNotExistException
extends CatalogException

Exception thrown when a user tries to use a non-existing username to log in.

Author:
Derek Y. Shen
See Also:
CatalogException, Serialized Form

Constructor Summary
UsernameNotExistException(java.lang.String newUsername)
          Constructor with non-existing username.
 
Method Summary
 java.lang.String getUsername()
           
 
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

UsernameNotExistException

public UsernameNotExistException(java.lang.String newUsername)
Constructor with non-existing username.

Method Detail

getUsername

public java.lang.String getUsername()


Copyright (c) 2004 The JCatalog Project.