Package com.perforce.p4java.exception
Class TrustException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.perforce.p4java.exception.P4JavaException
com.perforce.p4java.exception.ConnectionException
com.perforce.p4java.exception.TrustException
- All Implemented Interfaces:
Serializable
Special subclass of ConnectionException to signal the case of attempting to
establish trust for a SSL connection to the Perforce server.
Note that the exception should be handled with addition steps to try to establish trust again. The fingerprint will be set to this exception object whenever possible. This fingerprint should be used as a parameter for executing the IOptionsServer.addTrust(String fingerprint) method to install trust to the Perforce SSL connection. Only the "NEW_CONNECTION" and "NEW_KEY" types should be handled for trust retries.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTrustException(TrustException.Type type, String serverHostPort, String serverIpPort, String fingerprint, String message) TrustException(TrustException.Type type, String serverHostPort, String serverIpPort, String fingerprint, 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
-
TrustException
public TrustException(TrustException.Type type, String serverHostPort, String serverIpPort, String fingerprint, String message) -
TrustException
-
-
Method Details
-
getType
-
getServerHostPort
-
getServerIpPort
-
getFingerprint
-