com.lightstreamer.ls_proxy
Class PushException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.lightstreamer.ls_proxy.PushException
All Implemented Interfaces:
java.io.Serializable

public class PushException
extends java.lang.Exception

Indicates an error condition occurred during communication with Lightstreamer Server. The error condition may affect:

This error notification is just a facade for different, more specific, error notifications.

See Also:
Serialized Form

Method Summary
 void rethrow()
          Gets the specific error notification.
 
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
 

Method Detail

rethrow

public void rethrow()
             throws ConnectionException,
                    PushUpdateException,
                    PushConnException,
                    PushUserException,
                    PushServerException
Gets the specific error notification. This is done by throwing the appropriate exception.

Throws:
ConnectionException - Signals an internal problem that prevents a connection operation.
PushUpdateException - Signal an unexpected error in update values coming from Lightstreamer Server.
PushConnException - Signals a connection problem in a request to Lightstreamer Server or in the reception of Updates.
PushUserException - Signals a Server refusal to accomplish a request after the checks in the Metadata Adapter.
PushServerException - Signals an unexpected error in the answer received from Lightstreamer Server or a Server refusal to accomplish a request.