Interface CallStack

    • Method Detail

      • fillInStackTrace

        void fillInStackTrace()
        Takes a snapshot of the current call stack. Subsequent calls to printStackTrace(PrintWriter) will print out that stack trace until it is cleared.
      • printStackTrace

        boolean printStackTrace​(PrintWriter writer)
        Prints the current stack trace if available to a PrintWriter. The format is undefined and is primarily useful for debugging issues with PooledObject usage in user code.
        Parameters:
        writer - a PrintWriter to write the current stack trace to if available
        Returns:
        true if a stack trace was available to print or false if nothing was printed