Package io.jmix.ui.sys
Class DialogsImpl.ExceptionDialogBuilderImpl
java.lang.Object
io.jmix.ui.sys.DialogsImpl.ExceptionDialogBuilderImpl
- All Implemented Interfaces:
Dialogs.ExceptionDialogBuilder,Dialogs.HasCaption<Dialogs.ExceptionDialogBuilder>,Dialogs.HasMessage<Dialogs.ExceptionDialogBuilder>
- Enclosing class:
- DialogsImpl
public class DialogsImpl.ExceptionDialogBuilderImpl
extends Object
implements Dialogs.ExceptionDialogBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshow()Shows the dialog.withCaption(String caption) Sets caption text.withMessage(String message) Sets message text.withThrowable(Throwable throwable) Sets exception object.
-
Field Details
-
message
-
caption
-
throwable
-
-
Constructor Details
-
ExceptionDialogBuilderImpl
public ExceptionDialogBuilderImpl()
-
-
Method Details
-
withThrowable
Description copied from interface:Dialogs.ExceptionDialogBuilderSets exception object.- Specified by:
withThrowablein interfaceDialogs.ExceptionDialogBuilder- Parameters:
throwable- throwable- Returns:
- builder
-
getThrowable
- Specified by:
getThrowablein interfaceDialogs.ExceptionDialogBuilder- Returns:
- throwable
-
withCaption
Description copied from interface:Dialogs.HasCaptionSets caption text.- Specified by:
withCaptionin interfaceDialogs.HasCaption<Dialogs.ExceptionDialogBuilder>- Parameters:
caption- caption text- Returns:
- builder
-
getCaption
- Specified by:
getCaptionin interfaceDialogs.HasCaption<Dialogs.ExceptionDialogBuilder>- Returns:
- caption text
-
withMessage
Description copied from interface:Dialogs.HasMessageSets message text.- Specified by:
withMessagein interfaceDialogs.HasMessage<Dialogs.ExceptionDialogBuilder>- Parameters:
message- message text- Returns:
- builder
-
getMessage
- Specified by:
getMessagein interfaceDialogs.HasMessage<Dialogs.ExceptionDialogBuilder>- Returns:
- message text
-
show
public void show()Description copied from interface:Dialogs.ExceptionDialogBuilderShows the dialog.- Specified by:
showin interfaceDialogs.ExceptionDialogBuilder
-