public class RegistryAuthenticationFailedException extends RegistryException
Constructor and Description |
---|
RegistryAuthenticationFailedException(java.lang.String serverUrl,
java.lang.String imageName,
java.lang.String reason)
Creates a new exception with a human readable message.
|
RegistryAuthenticationFailedException(java.lang.String serverUrl,
java.lang.String imageName,
java.lang.Throwable cause)
Creates a new exception with a human readable message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getImageName()
The image being authenticated.
|
java.lang.String |
getServerUrl()
The server being authenticated.
|
public RegistryAuthenticationFailedException(java.lang.String serverUrl, java.lang.String imageName, java.lang.Throwable cause)
serverUrl
- the registry server urlimageName
- the image name that requires authenticationcause
- the underlying cause that triggered this exceptionpublic RegistryAuthenticationFailedException(java.lang.String serverUrl, java.lang.String imageName, java.lang.String reason)
serverUrl
- the registry server urlimageName
- the image name that requires authenticationreason
- the underlying reason that triggered this exception