com.lightstreamer.ls_client
Class PushConnException

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

public class PushConnException
extends java.lang.Exception

Thrown when the connection to Lightstreamer Server cannot be established or in case of abnormal connection termination. It can be received both in a synchronous and an asynchronous way.

See Also:
Serialized Form

Constructor Summary
PushConnException(java.io.IOException cause)
          Used by Lightstreamer to create a PushConnException.
PushConnException(java.lang.String msg)
          Used by Lightstreamer to create a PushConnException.
PushConnException(java.lang.String msg, java.lang.Throwable cause)
          Used by Lightstreamer to create a PushConnException.
 
Method Summary
 
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

PushConnException

public PushConnException(java.io.IOException cause)
Used by Lightstreamer to create a PushConnException.

Parameters:
cause - an exception occurred during connection.

PushConnException

public PushConnException(java.lang.String msg)
Used by Lightstreamer to create a PushConnException.

Parameters:
msg - a message describing an abnormal condition occurred during connection.

PushConnException

public PushConnException(java.lang.String msg,
                         java.lang.Throwable cause)
Used by Lightstreamer to create a PushConnException.

Parameters:
msg - a message describing an abnormal condition occurred during connection.
cause - a low level exception occurred during connection.