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,
upon
Server.start()
)
and asynchronously (through an invocation
of ExceptionHandler.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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
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.
-