Package com.parallels.jenkins
Class CredentialsNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.parallels.jenkins.CredentialsNotFoundException
- All Implemented Interfaces:
Serializable
Thrown by
CredentialsHelper when a credential ID cannot be resolved
to an actual credential in the Jenkins Credentials store.
Using a typed exception instead of a generic NullPointerException
makes the failure diagnostic — callers see exactly which ID was missing and
can surface a meaningful error in the Jenkins UI or log.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe credential ID that could not be resolved.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CredentialsNotFoundException
-
-
Method Details
-
getCredentialsId
The credential ID that could not be resolved.
-