public class S {

	public static void error(String msg) {
		throw new SyntaxException(msg);
	}

	public static void error(String msg, Object... args) {
		throw new SyntaxException(String.format(msg, args));
	}
}

@@ -47,24 +47,143 @@
 ring msg) %7B%0A
+%09%09System.err.println(msg);%0A%09%09//Thread.dumpStack();%0A%09%09//new SyntaxException(msg).printStackTrace();%0A%09%09//System.exit(1);%0A
 %09%09throw new 
@@ -208,16 +208,17 @@
 g);%0A%09%7D%0A%0A
+ 
 %09public 
@@ -269,35 +269,16 @@
 ) %7B%0A
+ 
 %09%09
-throw new SyntaxException
+error
 (Str
@@ -301,13 +301,14 @@
 args));%0A
+ 
 %09%7D%0A%7D%0A

improve error