exception
Class UnknownUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
exception.UnknownUserException
- All Implemented Interfaces:
- java.io.Serializable
public final class UnknownUserException
- extends java.lang.Exception
Exception thrown by UserDatabase
when UserDatabase
is supposed to perform actions on a user object with an unknown
identifier ("unknown" = identifier not in database).
- Author:
- Karl-Peter Fuchs
- See Also:
userDatabase
,
Serialized Form
Field Summary |
private static long |
serialVersionUID
The serialVersionUID as identifier for this serializable class. |
Method Summary |
java.lang.String |
getMessage()
Returns the String "No suiting user in database!" |
java.lang.String |
toString()
Returns the String "UnknownUserException". |
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 |
serialVersionUID
private static final long serialVersionUID
- The serialVersionUID as identifier for this serializable class.
- See Also:
- Constant Field Values
UnknownUserException
public UnknownUserException()
- Constructs an InvalidPortException (empty constructor).
getMessage
public java.lang.String getMessage()
- Returns the String "No suiting user in database!"
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- "No suiting user in database!".
toString
public java.lang.String toString()
- Returns the String "UnknownUserException".
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- "UnknownUserException"