Skip to content

Commit 6621095

Browse files
committed
Added CRaC support for serialization utility
1 parent d8a338f commit 6621095

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

powertools-serialization/src/main/java/software/amazon/lambda/powertools/utilities/PrimingException.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@
33
/**
44
* Exception thrown when priming operations fail during CRaC checkpoint preparation.
55
*/
6-
public class PrimingException extends Exception {
7-
8-
public PrimingException(String message, Throwable cause) {
9-
super(message, cause);
10-
}
11-
12-
public PrimingException(String message) {
13-
super(message);
6+
public class PrimingException extends RuntimeException {
7+
public PrimingException(String message, Exception e) {
8+
super(message,e);
149
}
1510
}

0 commit comments

Comments
 (0)