From 02bc52037e9ccccca672d6156d9c325c74fe28b3 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Mon, 1 Jul 2024 17:27:48 -0400 Subject: Update a whole bunch of things Yeah... not a great commit message. t.b.h, I could maybe've split the commit into more parts; but that would be quite a lot off effort and would have a pretty decent chance of at least one of the commits leaving the repository in a non-working state. For the future, will want to try and commit more often so there aren't these mega-commits where it's just "a whole bunch of stuff changed" --- .../src/main/java/net/wotonomy/foundation/NSForwardException.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSForwardException.java') diff --git a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSForwardException.java b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSForwardException.java index 10f54af..2fd8501 100644 --- a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSForwardException.java +++ b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSForwardException.java @@ -32,6 +32,7 @@ import java.io.StringWriter; */ public class NSForwardException extends RuntimeException { + private static final long serialVersionUID = -6960129453213771785L; protected String message; protected Throwable wrappedThrowable; @@ -78,6 +79,7 @@ public class NSForwardException extends RuntimeException { return wrappedThrowable; } + @Override public void printStackTrace(PrintWriter s) { if (message != null) { s.println(toString()); @@ -89,6 +91,7 @@ public class NSForwardException extends RuntimeException { super.printStackTrace(s); } + @Override public void printStackTrace(PrintStream s) { if (message != null) { s.println(toString()); @@ -100,6 +103,7 @@ public class NSForwardException extends RuntimeException { super.printStackTrace(s); } + @Override public void printStackTrace() { if (message != null) { System.err.println(toString()); @@ -124,6 +128,7 @@ public class NSForwardException extends RuntimeException { return writer.toString(); } + @Override public String toString() { String result = message; if (result == null) -- cgit v1.2.3