Class RemotingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.lightstreamer.adapters.remote.RemotingException
All Implemented Interfaces:
Serializable

public class RemotingException extends Exception
Issued by the Remote Server upon an unexpected error. It is used both synchronously (thrown, for instance, upon Server.start()) and asynchronously (through an invocation of ExceptionHandler.handleException(com.lightstreamer.adapters.remote.RemotingException)).
See Also:
  • Constructor Details

    • RemotingException

      public RemotingException(@Nullable String msg)
      Used by the Remote Server to construct a RemotingException with a supplied error message text.
      Parameters:
      msg - The detail message.
    • RemotingException

      public RemotingException(@Nullable String msg, @Nonnull Exception e)
      Used by the Remote Server to construct a RemotingException with a supplied error message text and cause exception.
      Parameters:
      msg - The detail message.
      e - The cause.