Package org.apache.commons.pool2.impl
Class ThrowableCallStack.Snapshot
java.lang.Object
java.lang.Throwable
org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot
- All Implemented Interfaces:
Serializable
- Enclosing class:
ThrowableCallStack
A snapshot of a throwable.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSnapshot()Constructs a new instance with its message set to the now instant.privateConstructs a new instance and use the timestamp as the message with usingDateTimeFormatter.ISO_INSTANTfor more precision. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
timestamp
-
-
Constructor Details
-
Snapshot
private Snapshot()Constructs a new instance with its message set to the now instant. -
Snapshot
Constructs a new instance and use the timestamp as the message with usingDateTimeFormatter.ISO_INSTANTfor more precision.- Parameters:
timestamp- normally the now instant.
-