Package com.atlassian.bamboo.repository
Class HostKeyVerificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.bamboo.repository.RepositoryException
com.atlassian.bamboo.repository.HostKeyVerificationException
- All Implemented Interfaces:
Serializable
When SSH transport is used for server access and its key doesn't exists in Trusted keys.
- See Also:
-
Constructor Summary
ConstructorDescriptionHostKeyVerificationException
(@NotNull String message, @Nullable Throwable cause, @Nullable TrustedKey trustedKey) Create an exception containing the message and root causeHostKeyVerificationException
(String message, @Nullable Throwable cause, String stdout, String stderr, @Nullable List<String> passwordsToObfuscate, @Nullable TrustedKey trustedKey) -
Method Summary
Methods inherited from class com.atlassian.bamboo.repository.RepositoryException
getRepositoryId, getStderr, getStdout
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HostKeyVerificationException
public HostKeyVerificationException(@NotNull @NotNull String message, @Nullable @Nullable Throwable cause, @Nullable @Nullable TrustedKey trustedKey) Create an exception containing the message and root cause- Parameters:
message
- The error messagecause
- The root cause
-
HostKeyVerificationException
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getTrustedKey
- Returns:
- key of remote server to be added to Trusted keys. May be null if fetching of server key was not implemented
-