Class CredentialsUnavailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cloudbees.plugins.credentials.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:
  • Constructor Details

    • 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 Details

    • getProperty

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

      public String getMessage()
      Overrides:
      getMessage in class Throwable