Class ThrowableCallStack.Snapshot

java.lang.Object
java.lang.Throwable
org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
All Implemented Interfaces:
Serializable
Enclosing class:
ThrowableCallStack

private static final class ThrowableCallStack.Snapshot extends Throwable
A snapshot of a throwable.
  • Field Details

  • Constructor Details

    • Snapshot

      private Snapshot()
      Constructs a new instance with its message set to the now instant.
    • Snapshot

      private Snapshot(Instant timestamp)
      Constructs a new instance and use the timestamp as the message with using DateTimeFormatter.ISO_INSTANT for more precision.
      Parameters:
      timestamp - normally the now instant.