Package com.google.cloud.tools.jib.api
Class RegistryAuthenticationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.cloud.tools.jib.api.RegistryException
-
- com.google.cloud.tools.jib.api.RegistryAuthenticationFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RegistryAuthenticationFailedException extends RegistryException
Thrown because registry authentication failed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getImageName()
The image being authenticated.java.lang.String
getServerUrl()
The server being authenticated.
-
-
-
Constructor Detail
-
RegistryAuthenticationFailedException
public RegistryAuthenticationFailedException(java.lang.String serverUrl, java.lang.String imageName, java.lang.Throwable cause)
Creates a new exception with a human readable message.- Parameters:
serverUrl
- the registry server urlimageName
- the image name that requires authenticationcause
- the underlying cause that triggered this exception
-
RegistryAuthenticationFailedException
public RegistryAuthenticationFailedException(java.lang.String serverUrl, java.lang.String imageName, java.lang.String reason)
Creates a new exception with a human readable message.- Parameters:
serverUrl
- the registry server urlimageName
- the image name that requires authenticationreason
- the underlying reason that triggered this exception
-
-