Class 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.
      • 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

      • 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 url
        imageName - the image name that requires authentication
        cause - 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 url
        imageName - the image name that requires authentication
        reason - the underlying reason that triggered this exception
    • Method Detail

      • getServerUrl

        public java.lang.String getServerUrl()
        The server being authenticated.
        Returns:
        the server being authenticated
      • getImageName

        public java.lang.String getImageName()
        The image being authenticated.
        Returns:
        the image being authenticated