Class MudException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BoardException, ChatlineException, ItemException, MoneyException, ParseException, PersonNotFoundException, RegularExpressionException

public class MudException extends RuntimeException
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 Details

    • MudException

      public MudException(String string)
      constructor for creating a exception with a message.
      Parameters:
      string - the string containing the message
    • MudException

      public MudException(Throwable ex)
      constructor for creating a exception with a message.
      Parameters:
      ex - the original exception.
    • MudException

      public MudException(String aString, Exception ex)
      constructor for creating a exception with a message.
      Parameters:
      aString - the string containing the message
      ex - the original exception.