Uses of Enum Class
io.github.chrimle.exceptionfactory.MessageTemplates.TwoArgTemplate
-
Uses of MessageTemplates.TwoArgTemplate in io.github.chrimle.exceptionfactory
Methods in io.github.chrimle.exceptionfactory that return MessageTemplates.TwoArgTemplateModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MessageTemplates.TwoArgTemplate[]MessageTemplates.TwoArgTemplate.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.chrimle.exceptionfactory with parameters of type MessageTemplates.TwoArgTemplateModifier and TypeMethodDescriptionstatic @NotNull IllegalArgumentExceptionExceptionFactory.illegalArgumentOf(@Nullable String key, MessageTemplates.TwoArgTemplate messageTemplate, @Nullable String value) Creates anIllegalArgumentExceptioninstance with themessagederived from themessageTemplateandkey.static @NotNull IllegalStateExceptionExceptionFactory.illegalStateOf(@Nullable String key, MessageTemplates.TwoArgTemplate messageTemplate, @Nullable String value) Creates anIllegalStateExceptioninstance with themessagederived from themessageTemplateandkey.ExceptionBuilder.setMessage(MessageTemplates.TwoArgTemplate messageTemplate, String messageArgOne, String messageArgTwo) Sets themessageto be used when instantiatingExceptionBuilder, by applying themessageArgOneandmessageArgTwoto themessageTemplate.