ex = new SQLNestedException(null, new Exception("c"));
ex.printStackTrace();
ex.printStackTrace(ps);
ex.printStackTrace(pw);
ex = new SQLNestedException(null, null);
ex.printStackTrace();
ex.printStackTrace(ps);
ex.printStackTrace(pw);
DriverManager.setLogWriter(null);
ex = new SQLNestedException("A", new Exception("a"));