|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
exception.UserAlreadyExistingException
public final class UserAlreadyExistingException
Exception thrown by UserDatabase.addUser()
when the
identifier of the user to be added is already in use by another user.
userDatabase
,
Serialized FormConstructor Summary | |
---|---|
UserAlreadyExistingException()
Constructs an InvalidPortException (empty constructor). |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the String "This user's identifier is already in use by another user!" |
java.lang.String |
toString()
Returns the String "UserAlreadyExistingException". |
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 |
---|
public UserAlreadyExistingException()
Method Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |