edu.wpi.first.wpilibj.networktables2.client
Class ClientConnectionState.Error

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
      extended by edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState.Error
Enclosing class:
ClientConnectionState

public static class ClientConnectionState.Error
extends ClientConnectionState

Represents that the client is in an error state

Author:
Mitchell

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
ClientConnectionState.Error, ClientConnectionState.ProtocolUnsuppotedByServer
 
Field Summary
 
Fields inherited from class edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
CONNECTED_TO_SERVER, DISCONNECTED_FROM_SERVER, IN_SYNC_WITH_SERVER, SENT_HELLO_TO_SERVER
 
Constructor Summary
ClientConnectionState.Error(Exception e)
          Create a new error state
 
Method Summary
 Exception getException()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientConnectionState.Error

public ClientConnectionState.Error(Exception e)
Create a new error state

Parameters:
e -
Method Detail

getException

public Exception getException()
Returns:
the exception that caused the client to enter an error state

toString

public String toString()
Overrides:
toString in class ClientConnectionState


Copyright © 2013. All rights reserved.