Class OnError

  • All Implemented Interfaces:
    OnError

    public class OnError
    extends java.lang.Object
    implements OnError
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(org.java_websocket.WebSocket ws, java.lang.Exception ex)
      Handles a websocket error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public void run​(org.java_websocket.WebSocket ws,
                        java.lang.Exception ex)
                 throws OpenemsException
        Description copied from interface: OnError
        Handles a websocket error.
        Specified by:
        run in interface OnError
        Throws:
        OpenemsException