public class WebDialogs.ExceptionDialogBuilderImpl extends java.lang.Object implements Dialogs.ExceptionDialogBuilder
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
caption |
protected java.lang.String |
message |
protected java.lang.Throwable |
throwable |
Constructor and Description |
---|
ExceptionDialogBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaption() |
java.lang.String |
getMessage() |
java.lang.Throwable |
getThrowable() |
void |
show()
Shows the dialog.
|
Dialogs.ExceptionDialogBuilder |
withCaption(java.lang.String caption)
Sets caption text.
|
Dialogs.ExceptionDialogBuilder |
withMessage(java.lang.String message)
Sets message text.
|
Dialogs.ExceptionDialogBuilder |
withThrowable(java.lang.Throwable throwable)
Sets exception object.
|
protected java.lang.String message
protected java.lang.String caption
protected java.lang.Throwable throwable
public Dialogs.ExceptionDialogBuilder withThrowable(java.lang.Throwable throwable)
Dialogs.ExceptionDialogBuilder
withThrowable
in interface Dialogs.ExceptionDialogBuilder
throwable
- throwablepublic java.lang.Throwable getThrowable()
getThrowable
in interface Dialogs.ExceptionDialogBuilder
public Dialogs.ExceptionDialogBuilder withCaption(java.lang.String caption)
Dialogs.ExceptionDialogBuilder
withCaption
in interface Dialogs.ExceptionDialogBuilder
caption
- caption textpublic java.lang.String getCaption()
getCaption
in interface Dialogs.ExceptionDialogBuilder
public Dialogs.ExceptionDialogBuilder withMessage(java.lang.String message)
Dialogs.ExceptionDialogBuilder
withMessage
in interface Dialogs.ExceptionDialogBuilder
message
- message textpublic java.lang.String getMessage()
getMessage
in interface Dialogs.ExceptionDialogBuilder
public void show()
Dialogs.ExceptionDialogBuilder
show
in interface Dialogs.ExceptionDialogBuilder