Class ErrorPane

java.lang.Object
fr.esrf.tangoatk.widget.util.ErrorPane

public class ErrorPane extends Object
A tango error message popup with a 'detail' (show error stack) button.
  • Constructor Details

    • ErrorPane

      public ErrorPane()
  • Method Details

    • showErrorMessage

      public static void showErrorMessage(Component parentComponent, String devName, fr.esrf.tangoatk.core.ATKException e)
      Show an Error Popup dialog.
      Parameters:
      parentComponent - Parent component.
      devName - Device name that has triggered the error.
      e - The error.
    • showErrorMessage

      public static void showErrorMessage(Component parentComponent, String title, String devName, fr.esrf.tangoatk.core.ATKException e)
      Show an Error Popup dialog.
      Parameters:
      parentComponent - Parent component.
      title - Dialog title.
      devName - Device name that has triggered the error.
      e - The error.
    • showErrorMessage

      public static void showErrorMessage(Component parentComponent, String devName, fr.esrf.Tango.DevFailed e)
      Show an Error Popup dialog.
      Parameters:
      parentComponent - Parent component.
      devName - Device name that has triggered the error.
      e - The error.
    • showErrorMessage

      public static void showErrorMessage(Component parentComponent, String title, String devName, fr.esrf.Tango.DevFailed e)
      Show an Error Popup dialog.
      Parameters:
      parentComponent - Parent component.
      title - Dialog title.
      devName - Device name that has triggered the error.
      e - The error.
    • showErrorMessage

      public static void showErrorMessage(Component parentComponent, String title, String devName, Exception e)
      Show an Error Popup dialog.
      Parameters:
      parentComponent - Parent component.
      title - Dialog title.
      devName - Device name that has triggered the error.
      e - The error.
    • showErrorMessage

      public static void showErrorMessage(Component parentComponent, String devName, Exception e)
      Show an Error Popup dialog.
      Parameters:
      parentComponent - Parent component.
      devName - Device name that has triggered the error.
      e - The error.
    • main

      public static void main(String[] args)