exception
Class UnknownUserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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.
 
Constructor Summary
UnknownUserException()
          Constructs an InvalidPortException (empty constructor).
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serialVersionUID as identifier for this serializable class.

See Also:
Constant Field Values
Constructor Detail

UnknownUserException

public UnknownUserException()
Constructs an InvalidPortException (empty constructor).

Method Detail

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"