Class ProvisioningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.jenkins.plugins.kubevirt.exception.ProvisioningException
- All Implemented Interfaces:
Serializable
Exception thrown when VM provisioning fails.
This is a checked exception that extends IOException for compatibility with Jenkins APIs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProvisioningException(String vmName, String message) Creates a new ProvisioningException.ProvisioningException(String vmName, String message, ErrorCode errorCode) Creates a new ProvisioningException with a specific error code.ProvisioningException(String vmName, String message, Throwable cause) Creates a new ProvisioningException with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ProvisioningException
Creates a new ProvisioningException.- Parameters:
vmName- The name of the VM that failed to provisionmessage- The detailed error message
-
ProvisioningException
Creates a new ProvisioningException with a specific error code.- Parameters:
vmName- The name of the VM that failed to provisionmessage- The detailed error messageerrorCode- The specific error code
-
ProvisioningException
Creates a new ProvisioningException with a cause.- Parameters:
vmName- The name of the VM that failed to provisionmessage- The detailed error messagecause- The underlying cause
-
-
Method Details