Class MudException
Object
Throwable
Exception
RuntimeException
MudException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BoardException
,ChatlineException
,ItemException
,MoneyException
,ParseException
,PersonNotFoundException
,RegularExpressionException
The main exception of the mud.
This exception is automatically mapped to a nice WebApplicationException, using a CustomExceptionMapper (in karchangame artifact).
- Author:
- maartenl
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMudException
(String string) constructor for creating a exception with a message.MudException
(String aString, Exception ex) constructor for creating a exception with a message.constructor for creating a exception with a message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MudException
constructor for creating a exception with a message.- Parameters:
string
- the string containing the message
-
MudException
constructor for creating a exception with a message.- Parameters:
ex
- the original exception.
-
MudException
-