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 Summary
Constructors Constructor Description CachedException(Exception exception)Default constructor -
Method Summary
Modifier and Type Method Description DategetDate()Gets the first occurrence date of the exceptionExceptiongetException()Gets the exceptionStringgetExceptionMessage()Gets the exception messageDategetLastOccurrenceDate()Gets the last occurrence date of the exceptionStringgetStackTrace()Gets the exception stack tracevoidsetLastOccurrenceDate(Date lastOccurrenceDate)Sets the last occurrence date of the exception
-
Constructor Details
-
CachedException
Default constructor- Parameters:
exception-Exception
-
-
Method Details
-
getDate
Gets the first occurrence date of the exception- Returns:
Date
-
getLastOccurrenceDate
Gets the last occurrence date of the exception- Returns:
Date
-
setLastOccurrenceDate
Sets the last occurrence date of the exception- Parameters:
lastOccurrenceDate-Date
-
getException
Gets the exception- Returns:
Exception
-
getExceptionMessage
Gets the exception message- Returns:
String
-
getStackTrace
Gets the exception stack trace- Returns:
String
-