Mercurial Hosting > luan
view src/luan/LuanRuntimeException.java @ 2149:8f4373973f5c draft tip
Close obsolete default head
| author | fffilimonov |
|---|---|
| date | Fri, 23 Jan 2026 20:58:38 -0600 |
| 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); } }
