File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
src/main/groovy/com/lesfurets/jenkins/unit Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 11package com.lesfurets.jenkins.unit
22
33/**
4- * Custom exception class used in the verify method in BasePipelineTest
4+ * Exception thrown when verification in BasePipelineTest fails.
55 */
6- class VerificationException extends Exception {
6+ class VerificationException extends RuntimeException {
77
8- VerificationException (String errorMessage ) {
9- super (errorMessage)
8+ /**
9+ * Constructs a new VerificationException with the specified detail message.
10+ *
11+ * @param message the detail message
12+ */
13+ VerificationException (String message ) {
14+ super (message)
15+ }
16+
17+ /**
18+ * Constructs a new VerificationException with the specified detail message and cause.
19+ *
20+ * @param message the detail message
21+ * @param cause the cause of the exception
22+ */
23+ VerificationException (String message , Throwable cause ) {
24+ super (message, cause)
1025 }
1126}
You can’t perform that action at this time.
0 commit comments