Class 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 registry
        repository - the image repository
        cause - the cause
    • Method Detail

      • getImageReference

        public java.lang.String getImageReference()
      • getHttpResponseException

        public com.google.api.client.http.HttpResponseException getHttpResponseException()