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) Constructor.CredentialsUnavailableException(String property, String message) Constructor.CredentialsUnavailableException(String property, String message, Throwable cause) Constructor.CredentialsUnavailableException(String property, Throwable cause) Constructor. -
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
Constructor. Indicate that the requested property is unavailable.- See Also:
-
CredentialsUnavailableException
Constructor. Indicate that the requested property is unavailable.- See Also:
-
CredentialsUnavailableException
Constructor. Indicate that the requested property is unavailable.- See Also:
-
CredentialsUnavailableException
Constructor. Indicate that the requested property is unavailable.- See Also:
-
-
Method Details
-
getProperty
Reports the property name.- Returns:
- the property name.
-
getMessage
- Overrides:
getMessagein classThrowable
-