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¶
MdsException¶
- public MdsException(String messageKey, String... params)
Constructs a new mds exception with the specified message key and params.
Parameters: - 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¶
MdsException¶
- public MdsException(String messageKey, String params, Throwable cause)¶
Constructs a new mds exception with the specified message key and the specified cause.
Parameters: - 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
- cause – the cause of exception.