Class RemotingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.lightstreamer.adapters.remote.RemotingException
-
- All Implemented Interfaces:
java.io.Serializable
public class RemotingException extends java.lang.Exception
Issued by the Remote Server upon an unexpected error. It is used both synchronously (thrown, for instance, uponServer.start()
) and asynchronously (through an invocation ofExceptionHandler.handleException(com.lightstreamer.adapters.remote.RemotingException)
).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemotingException(java.lang.String msg)
Used by the Remote Server to construct a RemotingException with a supplied error message text.RemotingException(java.lang.String msg, java.lang.Exception e)
Used by the Remote Server to construct a RemotingException with a supplied error message text and cause exception.
-
-
-
Constructor Detail
-
RemotingException
public RemotingException(@Nullable java.lang.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 java.lang.String msg, @Nonnull java.lang.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.
-
-