Package com.google.cloud.tools.jib.api
Class RegistryUnauthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.cloud.tools.jib.api.RegistryException
-
- com.google.cloud.tools.jib.api.RegistryUnauthorizedException
-
- All Implemented Interfaces:
java.io.Serializable
public class RegistryUnauthorizedException extends RegistryException
Thrown when a registry request was unauthorized and therefore authentication is needed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegistryUnauthorizedException(java.lang.String registry, java.lang.String repository, ResponseException cause)
Identifies the image registry and repository that denied access.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.client.http.HttpResponseException
getHttpResponseException()
java.lang.String
getImageReference()
-
-
-
Constructor Detail
-
RegistryUnauthorizedException
public RegistryUnauthorizedException(java.lang.String registry, java.lang.String repository, ResponseException cause)
Identifies the image registry and repository that denied access.- Parameters:
registry
- the image registryrepository
- the image repositorycause
- the cause
-
-