Package com.atlassian.bamboo.ssh
Class UntrustedKeyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.atlassian.bamboo.ssh.UntrustedKeyException
-
- All Implemented Interfaces:
Serializable
public class UntrustedKeyException extends Exception
Thrown by bamboo ssh proxy if host key verification fails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UntrustedKeyException(TrustedKey trustedKey)
UntrustedKeyException(String message, TrustedKey trustedKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrustedKey
getTrustedKey()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UntrustedKeyException
public UntrustedKeyException(String message, TrustedKey trustedKey)
-
UntrustedKeyException
public UntrustedKeyException(TrustedKey trustedKey)
-
-
Method Detail
-
getTrustedKey
public TrustedKey getTrustedKey()
- Returns:
- public key of the untrusted host
-
-