Class CredentialsUnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cloudbees.plugins.credentials.CredentialsUnavailableException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionCredentialsUnavailableException
(String property) CredentialsUnavailableException
(String property, String message) CredentialsUnavailableException
(String property, String message, Throwable cause) CredentialsUnavailableException
(String property, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReports the property name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CredentialsUnavailableException
-
CredentialsUnavailableException
-
CredentialsUnavailableException
-
CredentialsUnavailableException
-
-
Method Details
-
getProperty
Reports the property name.- Returns:
- the property name.
-
getMessage
- Overrides:
getMessage
in classThrowable
-