Skip to content

Commit 6fef5d3

Browse files
eschultinkjknack
authored andcommitted
HandlebarsError should be Serializable, as embedded in class that's Serializable
1 parent 51228ac commit 6fef5d3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

handlebars/src/main/java/com/github/jknack/handlebars/HandlebarsError.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*/
1818
package com.github.jknack.handlebars;
1919

20+
import java.io.Serializable;
21+
2022
import static org.apache.commons.lang3.Validate.isTrue;
2123
import static org.apache.commons.lang3.Validate.notEmpty;
2224

@@ -26,7 +28,12 @@
2628
* @author edgar.espina
2729
* @since 0.5.0
2830
*/
29-
public class HandlebarsError {
31+
public class HandlebarsError implements Serializable {
32+
33+
/**
34+
* The serial UUID.
35+
*/
36+
private static final long serialVersionUID = -8453345164714701546L;
3037

3138
/**
3239
* The error's line number.

0 commit comments

Comments
 (0)