Package com.perforce.p4java.exception
Class ConnectionNotConnectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.perforce.p4java.exception.P4JavaException
com.perforce.p4java.exception.ConnectionException
com.perforce.p4java.exception.ConnectionNotConnectedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionConnectionNotConnectedException(String message) ConnectionNotConnectedException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionNotConnectedException
public ConnectionNotConnectedException() -
ConnectionNotConnectedException
-
ConnectionNotConnectedException
-
ConnectionNotConnectedException
-