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:
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
-
-
Constructor Summary
Constructors Constructor Description ConnectionNotConnectedException()
ConnectionNotConnectedException(java.lang.String message)
ConnectionNotConnectedException(java.lang.String message, java.lang.Throwable cause)
ConnectionNotConnectedException(java.lang.Throwable cause)
-
-
-
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)
-
-