Class CachedException

java.lang.Object
eu.europa.esig.dss.tsl.cache.state.CachedException

public class CachedException
extends Object
Defines the error for a cache record
  • Constructor Details

    • CachedException

      public CachedException​(Exception exception)
      Default constructor
      Parameters:
      exception - Exception
  • Method Details

    • getDate

      public Date getDate()
      Gets the first occurrence date of the exception
      Returns:
      Date
    • getLastOccurrenceDate

      public Date getLastOccurrenceDate()
      Gets the last occurrence date of the exception
      Returns:
      Date
    • setLastOccurrenceDate

      public void setLastOccurrenceDate​(Date lastOccurrenceDate)
      Sets the last occurrence date of the exception
      Parameters:
      lastOccurrenceDate - Date
    • getException

      public Exception getException()
      Gets the exception
      Returns:
      Exception
    • getExceptionMessage

      public String getExceptionMessage()
      Gets the exception message
      Returns:
      String
    • getStackTrace

      public String getStackTrace()
      Gets the exception stack trace
      Returns:
      String