Package org.pentaho.di.ui.core.dialog
Class ErrorDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.core.dialog.ErrorDialog
-
public class ErrorDialog extends org.eclipse.swt.widgets.DialogDialog to display an error generated by a Kettle Exception.- Since:
- 19-06-2003
- Author:
- Matt
-
-
Constructor Summary
Constructors Constructor Description ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Exception exception)ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Exception exception, boolean showCancelButton)ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Throwable throwable)ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Throwable throwable, Function<String,String> exMsgFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()protected voidhandleException(String message, Exception exception, StringBuilder text, StringBuilder details)booleanisCancelled()protected voidshowDetails(String details)
-
-
-
Constructor Detail
-
ErrorDialog
public ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Throwable throwable)
-
ErrorDialog
public ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Throwable throwable, Function<String,String> exMsgFunction)
-
ErrorDialog
public ErrorDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, Exception exception)
-
-
Method Detail
-
handleException
protected void handleException(String message, Exception exception, StringBuilder text, StringBuilder details)
-
showDetails
protected void showDetails(String details)
-
dispose
public void dispose()
-
isCancelled
public boolean isCancelled()
-
-