Package org.ldaptive

Class ClosedRetryMetadata

    • Field Detail

      • failureException

        protected final Throwable failureException
        Last thrown exception.
    • Constructor Detail

      • ClosedRetryMetadata

        public ClosedRetryMetadata​(Instant time,
                                   Throwable ex)
        Creates a new closed retry metadata.
        Parameters:
        time - of last successful connection
        ex - exception that caused the connection to close
    • Method Detail

      • getFailureException

        public Throwable getFailureException()
        Returns the exception that caused the closed connection.
        Returns:
        failure exception