-
Terminally Deprecated ElementsElementDescriptionin favour of using the
ExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the detailed message using aMessageFormatinstance for advanced message formatting.in favour of using theExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the detailed message by replacing named placeholders in the form of{key}.Example:
exception.setDetailedMessage("Error in {module} at {time}", Map.of("module", "Auth", "time", "12:00 UTC"));and rendered effect-less in favour of using theExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the Message Formatting style of this instance.in favour ofExceptionCode.toCommonRTE(Throwable, String, String, Object...). Please do not use thisin favour ofExceptionCode.toCommonRTE(Throwable, String, String, Object...). Please do not use thisin favour ofExceptionCode.toCommonRTE(Throwable, String, String, Object...).Please do not use this
-
Deprecated MethodsMethodDescriptionin favour of using the
ExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the detailed message by substituting values in the given template. This instance utilizesDetailsMessageFormatters.SLF4Jis using as default which may be on the contrary to the desired formatter.in favour of using theExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the detailed message using aMessageFormatinstance for advanced message formatting.in favour of using theExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the detailed message by replacing named placeholders in the form of{key}.Example:
exception.setDetailedMessage("Error in {module} at {time}", Map.of("module", "Auth", "time", "12:00 UTC"));and rendered effect-less in favour of using theExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the Message Formatting style of this instance.in favour ofExceptionCode.toCommonRTE(Throwable, String, String, Object...). Please do not use thisin favour ofExceptionCode.toCommonRTE(Throwable, String, String, Object...). Please do not use thisin favour ofExceptionCode.toCommonRTE(Throwable, String, String, Object...).Please do not use this
ExceptionCode.toCommonRTE(Throwable, String, String, Object...)or with setDetailedMessage(String) method where the argument can be built byDetailsMessageFormatters.detectAndFormat(String, Object...). Sets the detailed message by substituting values in the given template. This instance utilizesDetailsMessageFormatters.SLF4Jis using as default which may be on the contrary to the desired formatter.