Class ThrowableCallStack.Snapshot

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ThrowableCallStack

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

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      private java.time.Instant timestamp  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Snapshot()
      Constructs a new instance with its message set to the now instant.
      private Snapshot​(java.time.Instant timestamp)
      Constructs a new instance and use the timestamp as the message with using DateTimeFormatter.ISO_INSTANT for more precision.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • timestamp

        private final java.time.Instant timestamp
    • Constructor Detail

      • Snapshot

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

        private Snapshot​(java.time.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.