com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib
Class ConnectionLostException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.ConnectionLostException
All Implemented Interfaces:
Serializable

public class ConnectionLostException
extends RuntimeException

Throws when the connection lib lost a connection during a send or receive process.

See Also:
Serialized Form
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Constructor Summary
ConnectionLostException(com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.Channel channel, Throwable cause)
          Creates a new instance.
 
Method Summary
 com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.Channel getChannel()
          Gets the channel which lost the exception.
 
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

ConnectionLostException

public ConnectionLostException(com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.Channel channel,
                               Throwable cause)
Creates a new instance.

Parameters:
channel - The channel which lost the connection.
cause - An additional error cause.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Method Detail

getChannel

public com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.Channel getChannel()
Gets the channel which lost the exception.

Returns:
The channel which lost the exception.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.