Class KubeVirtException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jenkins.plugins.kubevirt.exception.KubeVirtException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
VMDeletionException
Base exception for all KubeVirt plugin errors.
Provides a structured way to handle and report errors with error codes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKubeVirtException(ErrorCode errorCode, String message, Throwable cause) Creates a new KubeVirtException with an error code, message, and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
KubeVirtException
Creates a new KubeVirtException with an error code, message, and cause.- Parameters:
errorCode- The error code categorizing this exceptionmessage- The detailed error messagecause- The underlying cause of this exception
-
-
Method Details