code: static final String getStack(final boolean filter) {
        StringBuilder buf = new StringBuilder();
        StackTraceElement[] stack = Thread.currentThread().getStackTrace();
        for(int i = 2; i < stack.length; i++) {
           if(!filter) {
              buf.append(stack[i].toString());
              buf.append(NEW_LINE);
           } else {
              String s = stack[i].toString();
              if(!s.startsWith("org.attribyte.sql.pool")) {
                 buf.append(s);
                 buf.append(NEW_LINE);
              }
           }
        }
        return buf.toString();
     }
docs: Gets the current stack as a string.
  @param filter Should calls from the pool be filtered?
  @return The stack as a string.