de.kosi.util
Class LocalizedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.kosi.util.LocalizedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidSessionException, UserAlreadyPlayingException

public abstract class LocalizedException
extends java.lang.Exception

LocalizedException overrides getMessage() to provide the user with a localized message.

ChangeLog:

 $Log: LocalizedException.java,v $
 Revision 1.2  2001/05/22 20:24:40  jiriki
 Made source more conformant to Coding Conventions.

 Revision 1.1.1.1  2001/04/29 18:05:20  jiriki
 Imported sources from zola.

 Revision 1.1  2001/04/27 14:06:48  login
 Implemented localized exception

 

Version:
$Revision: 1.2 $ ($Date: 2001/05/22 20:24:40 $)
Author:
Jan-Ole Janssen, Timo Sticher, Niklas Mehner
See Also:
Serialized Form

Constructor Summary
LocalizedException(java.lang.String type)
          Create a new Localized exception.
 
Method Summary
 java.lang.String getMessage()
          Returns the localized message for this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizedException

public LocalizedException(java.lang.String type)
Create a new Localized exception.
Parameters:
type - indicates which message to use for this exception.
Method Detail

getMessage

public java.lang.String getMessage()
Returns the localized message for this exception.
Overrides:
getMessage in class java.lang.Throwable
Returns:
localized message.