Class ErrorPopup

java.lang.Object
fr.esrf.tangoatk.widget.util.ErrorPopup
All Implemented Interfaces:
fr.esrf.tangoatk.core.IErrorListener, fr.esrf.tangoatk.core.ISetErrorListener, Serializable, EventListener

public class ErrorPopup extends Object implements fr.esrf.tangoatk.core.IErrorListener, fr.esrf.tangoatk.core.ISetErrorListener
A class which listens for command and attribute writing errors and display an ErrorPane when an error occured.
See Also:
  • Method Details

    • getInstance

      public static ErrorPopup getInstance()
      getInstance returns the unique instance of the ErrorPopup. There will be only one ErrorPopup per running instance of the JVM.
      Returns:
      an ErrorPopup value
    • errorChange

      public void errorChange(fr.esrf.tangoatk.core.ErrorEvent evt)
      Specified by:
      errorChange in interface fr.esrf.tangoatk.core.IErrorListener
    • setErrorOccured

      public void setErrorOccured(fr.esrf.tangoatk.core.ErrorEvent evt)
      Specified by:
      setErrorOccured in interface fr.esrf.tangoatk.core.ISetErrorListener
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception