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 Date
getDate()
Gets the first occurrence date of the exceptionException
getException()
Gets the exceptionString
getExceptionMessage()
Gets the exception messageDate
getLastOccurrenceDate()
Gets the last occurrence date of the exceptionString
getStackTrace()
Gets the exception stack tracevoid
setLastOccurrenceDate(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
-