Class CachedExceptionWrapper
java.lang.Object
eu.europa.esig.dss.tsl.cache.state.CachedExceptionWrapper
Wraps an exception for a cache record
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()
Gets the first occurrence date of the exceptionGets the exceptionGets the exception messageGets the last occurrence date of the exceptionGets the exception stack tracevoid
setLastOccurrenceDate
(Date lastOccurrenceDate) Sets the last occurrence date of the exception
-
Constructor Details
-
CachedExceptionWrapper
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
-