commit | 2d05866f86d71862a5e2df9ff4808d89dfc56b13 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon May 13 06:50:08 2019 +0200 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon May 13 06:59:33 2019 +0200 |
tree | 21026413c5dd86d9ac2d76846bcd99321f66807b | |
parent | be7e83af45de57898de5e3117b3045830918980b [diff] |
Add missing serialVersionUIDs Change-Id: I827716a83bfcfb241949551c29c60c6ca54e8b13
diff --git a/java/com/google/gitiles/GitilesRequestFailureException.java b/java/com/google/gitiles/GitilesRequestFailureException.java index 91f9cf8..316c023 100644 --- a/java/com/google/gitiles/GitilesRequestFailureException.java +++ b/java/com/google/gitiles/GitilesRequestFailureException.java
@@ -87,6 +87,7 @@ * MyErrorHandlingFilter} will handle that. You can control how the error should be surfaced. */ public final class GitilesRequestFailureException extends RuntimeException { + private static final long serialVersionUID = 1L; private final FailureReason reason; private String publicErrorMessage;
diff --git a/javatests/com/google/gitiles/DefaultErrorHandlingFilterTest.java b/javatests/com/google/gitiles/DefaultErrorHandlingFilterTest.java index 6832658..b96e43d 100644 --- a/javatests/com/google/gitiles/DefaultErrorHandlingFilterTest.java +++ b/javatests/com/google/gitiles/DefaultErrorHandlingFilterTest.java
@@ -35,6 +35,8 @@ } private static class TestServlet extends HttpServlet { + private static final long serialVersionUID = 1L; + @Override protected void doGet(HttpServletRequest req, HttpServletResponse res) { throw new GitilesRequestFailureException(FailureReason.INCORECT_PARAMETER);