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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
show()
Shows the dialog.withCaption
(String caption) Sets caption text.withMessage
(String message) Sets message text.withThrowable
(Throwable throwable) Sets exception object.
-
Field Details
-
message
-
throwable
-
-
Constructor Details
-
ExceptionDialogBuilderImpl
public ExceptionDialogBuilderImpl()
-
-
Method Details
-
withThrowable
Description copied from interface:Dialogs.ExceptionDialogBuilder
Sets exception object.- Specified by:
withThrowable
in interfaceDialogs.ExceptionDialogBuilder
- Parameters:
throwable
- throwable- Returns:
- builder
-
getThrowable
- Specified by:
getThrowable
in interfaceDialogs.ExceptionDialogBuilder
- Returns:
- throwable
-
withCaption
Description copied from interface:Dialogs.HasCaption
Sets caption text.- Specified by:
withCaption
in interfaceDialogs.HasCaption<Dialogs.ExceptionDialogBuilder>
- Parameters:
caption
- caption text- Returns:
- builder
-
getCaption
- Specified by:
getCaption
in interfaceDialogs.HasCaption<Dialogs.ExceptionDialogBuilder>
- Returns:
- caption text
-
withMessage
Description copied from interface:Dialogs.HasMessage
Sets message text.- Specified by:
withMessage
in interfaceDialogs.HasMessage<Dialogs.ExceptionDialogBuilder>
- Parameters:
message
- message text- Returns:
- builder
-
getMessage
- Specified by:
getMessage
in interfaceDialogs.HasMessage<Dialogs.ExceptionDialogBuilder>
- Returns:
- message text
-
show
public void show()Description copied from interface:Dialogs.ExceptionDialogBuilder
Shows the dialog.- Specified by:
show
in interfaceDialogs.ExceptionDialogBuilder
-