net.sf.magicproject.tools
Class MpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.magicproject.tools.MpException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NetworkException

public class MpException
extends java.lang.Exception

Since:
0.90
Author:
Fabrice Daugan
See Also:
Serialized Form

Constructor Summary
MpException(java.lang.String i18nMessage)
          Create a new instance of this class.
 
Method Summary
 java.lang.String i18nMessage()
          Return the translated message corresponding to the message key.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MpException

public MpException(java.lang.String i18nMessage)
Create a new instance of this class.

Parameters:
i18nMessage - tresource bundle message key
Method Detail

i18nMessage

public java.lang.String i18nMessage()
Return the translated message corresponding to the message key.

Returns:
the translated message corresponding to the message key.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.