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

public class KubeVirtException extends RuntimeException
Base exception for all KubeVirt plugin errors. Provides a structured way to handle and report errors with error codes.
See Also:
  • Constructor Details

    • KubeVirtException

      public KubeVirtException(ErrorCode errorCode, String message, Throwable cause)
      Creates a new KubeVirtException with an error code, message, and cause.
      Parameters:
      errorCode - The error code categorizing this exception
      message - The detailed error message
      cause - The underlying cause of this exception
  • Method Details