Class CredentialsUnavailableException

  • All Implemented Interfaces:
    Serializable

    public class CredentialsUnavailableException
    extends RuntimeException
    This exception can be thrown by any get method in a Credentials subclass to indicate that the requested property is unavailable.
    Since:
    2.1.5
    See Also:
    Serialized Form
    • Constructor Detail

      • CredentialsUnavailableException

        public CredentialsUnavailableException​(String property)
      • CredentialsUnavailableException

        public CredentialsUnavailableException​(String property,
                                               String message)
      • CredentialsUnavailableException

        public CredentialsUnavailableException​(String property,
                                               String message,
                                               Throwable cause)
      • CredentialsUnavailableException

        public CredentialsUnavailableException​(String property,
                                               Throwable cause)
    • Method Detail

      • getProperty

        public String getProperty()
        Reports the property name.
        Returns:
        the property name.