Class ConnectionNotConnectedException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ConnectionNotConnectedException

        public ConnectionNotConnectedException()
      • ConnectionNotConnectedException

        public ConnectionNotConnectedException​(java.lang.String message,
                                               java.lang.Throwable cause)
      • ConnectionNotConnectedException

        public ConnectionNotConnectedException​(java.lang.String message)
      • ConnectionNotConnectedException

        public ConnectionNotConnectedException​(java.lang.Throwable cause)