Class PushUserException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.lightstreamer.ls_client.PushUserException
All Implemented Interfaces:

public class PushUserException
extends java.lang.Exception

Thrown in case the Server refuses to satisfy a request because of the constraints imposed by the Metadata Adapter or by Server configuration. A detailed error code is supplied. Both the error code and the message are received from the Server. In particular:

See Also:
Serialized Form

Constructor Summary
PushUserException(int serverCode, java.lang.String serverMsg)
          Used by Lightstreamer to create a PushUserException.
Method Summary
 int getErrorCode()
          Returns the detailed error code, as received by the Server.
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public PushUserException(int serverCode,
                         java.lang.String serverMsg)
Used by Lightstreamer to create a PushUserException.

serverCode - the error code received from the Server.
serverMsg - the error message received from the Server.
Method Detail


public int getErrorCode()
Returns the detailed error code, as received by the Server.

Integer code, whose meaning depends on Lightstreamer Server or the Metadata Adapter.