Mercurial Hosting > luan
view src/luan/LuanRuntimeException.java @ 2105:3dc3fc1aa563 ssltesting
move definitions around
| author | Violet7 |
|---|---|
| date | Tue, 16 Dec 2025 17:28:57 -0800 |
| parents | 0de03667a950 |
| children |
line wrap: on
line source
package luan; import java.io.PrintWriter; import java.io.PrintStream; public final class LuanRuntimeException extends RuntimeException { public final LuanException luanException; public LuanRuntimeException(LuanException e) { super(e); luanException = e; } @Override public void printStackTrace(PrintStream s) { LuanException luanException = (LuanException)getCause(); s.print("Luan: "); s.println(luanException.luanStackTrace()); s.print("Caused by: "); super.printStackTrace(s); } @Override public void printStackTrace(PrintWriter s) { LuanException luanException = (LuanException)getCause(); s.print("Luan: "); s.println(luanException.luanStackTrace()); s.print("Caused by: "); super.printStackTrace(s); } }
