MdsException¶
-
public class
MdsException
extends RuntimeException¶ The
MdsException
exception is a basic class for all other exceptions defined in the mds module. It contains information about a message key which will be used on UI to present a message in appropriate language.
Constructors¶
MdsException¶
MdsException¶
-
public
MdsException
(String message, Throwable cause, String messageKey)¶ Constructs a new mds exception with the specified message key and params.
Parameters: - message – the error message for the logs
- cause – the cause of the exception
- messageKey – the message key used later to display message in appropriate language on UI.
MdsException¶
-
public
MdsException
(String message, Throwable cause, String messageKey, String params)¶ Constructs a new mds exception with the specified message key and params.
Parameters: - message – the error message for the logs
- cause – the cause of the exception
- messageKey – the message key used later to display message in appropriate language on UI.
- params – the params used later to change placeholders in the message
MdsException¶
-
public
MdsException
(String message, Throwable cause, String messageKey, String... params) Constructs a new mds exception with the specified message key and params.
Parameters: - message – the error message for the logs
- cause – the cause of the exception
- messageKey – the message key used later to display message in appropriate language on UI.
- params – the params used later to change placeholders in the message