Class ThrowableCallStack

java.lang.Object
org.apache.tomcat.dbcp.pool2.impl.ThrowableCallStack
All Implemented Interfaces:
CallStack

public class ThrowableCallStack extends Object implements CallStack
CallStack strategy that uses the stack trace from a Throwable. This strategy, while slower than the SecurityManager implementation, provides call stack method names and other metadata in addition to the call stack of classes.
Since:
2.4.3
See Also:
  • Constructor Details

    • ThrowableCallStack

      public ThrowableCallStack(String messageFormat, boolean useTimestamp)
      Create a new instance.
      Parameters:
      messageFormat - message format
      useTimestamp - whether to format the dates in the output message or not
  • Method Details