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.ExceptionDialogBuilderwithThrowable in interface Dialogs.ExceptionDialogBuilderthrowable - throwablepublic java.lang.Throwable getThrowable()
getThrowable in interface Dialogs.ExceptionDialogBuilderpublic Dialogs.ExceptionDialogBuilder withCaption(java.lang.String caption)
Dialogs.HasCaptionwithCaption in interface Dialogs.HasCaption<Dialogs.ExceptionDialogBuilder>caption - caption textpublic java.lang.String getCaption()
getCaption in interface Dialogs.HasCaption<Dialogs.ExceptionDialogBuilder>public Dialogs.ExceptionDialogBuilder withMessage(java.lang.String message)
Dialogs.HasMessagewithMessage in interface Dialogs.HasMessage<Dialogs.ExceptionDialogBuilder>message - message textpublic java.lang.String getMessage()
getMessage in interface Dialogs.HasMessage<Dialogs.ExceptionDialogBuilder>public void show()
Dialogs.ExceptionDialogBuildershow in interface Dialogs.ExceptionDialogBuilder