reason.printStackTrace();
DebugLog.error(reason);
    public static void error(int errorCode, Throwable reason) throws SVNException {        // if reason already svn exception - prepend one more error and re-throw.        if (reason != null) {            reason.printStackTrace();        }        throw reason != null ? new SVNException(reason) : new SVNException();    }