Class ConnectionNotConnectedException

All Implemented Interfaces:
Serializable

public class ConnectionNotConnectedException extends ConnectionException
Special subclass of ConnectionException to signal the case of attempting to issue a Perforce server command with an IServer that hasn't been explicitly connected to that Perforce server.

Usually, if you get one of these, you've either forgotten to connect the server, or the server's become disconnected on its own, typically as a result of the underlying protocol timing out or the Perforce server at the other end going away, etc.

See Also:
  • Constructor Details

    • ConnectionNotConnectedException

      public ConnectionNotConnectedException()
    • ConnectionNotConnectedException

      public ConnectionNotConnectedException(String message, Throwable cause)
    • ConnectionNotConnectedException

      public ConnectionNotConnectedException(String message)
    • ConnectionNotConnectedException

      public ConnectionNotConnectedException(Throwable cause)