Don't fill stacktrace for control flow exceptions.

This commit is contained in:
Maxim Shafirov
2010-03-24 19:16:56 +03:00
parent 82e2a0ca64
commit 96324c7c3c
@@ -336,6 +336,10 @@ public class NanoXmlUtil {
}
public static class ParserStoppedException extends RuntimeException {
@Override
public Throwable fillInStackTrace() {
return this;
}
}
private static class RootTagInfoBuilder implements IXMLBuilder {