Class KubeClusterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.skodjob.testframe.clients.KubeClusterException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
KubeClusterException.AlreadyExists, KubeClusterException.InvalidResource, KubeClusterException.NotFound

public class KubeClusterException extends RuntimeException
Custom exception class for handling exceptions related to Kubernetes cluster operations. This exception class encapsulates the result of a failed execution attempt, providing detailed information about the error that occurred during Kubernetes cluster operations.
See Also:
  • Field Details

  • Constructor Details

    • KubeClusterException

      public KubeClusterException(ExecResult result, String s)
      Constructs a new KubeClusterException with the specified detail message and execution result.
      Parameters:
      result - The execution result that led to the exception. Contains details about the failure.
      s - The detail message. The detail message is saved for later retrieval by the getMessage() method.
    • KubeClusterException

      public KubeClusterException(Throwable cause)
      Constructs a new KubeClusterException with the specified cause.
      Parameters:
      cause - The cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)