Package net.shibboleth.shared.security
Class DataExpiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.shibboleth.shared.security.DataSealerException
net.shibboleth.shared.security.DataExpiredException
- All Implemented Interfaces:
Serializable
Indicates the sealed data has expired.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstantExpiration.private static final longserialVersionUID. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.DataExpiredException(Exception wrappedException) Constructor.DataExpiredException(Exception wrappedException, Instant exp) Constructor.DataExpiredException(String message) Constructor.DataExpiredException(String message, Exception wrappedException) Constructor.DataExpiredException(String message, Exception wrappedException, Instant exp) Constructor.DataExpiredException(String message, Instant exp) Constructor.Constructor . -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID.- See Also:
-
expiration
Expiration.
-
-
Constructor Details
-
DataExpiredException
public DataExpiredException()Constructor. -
DataExpiredException
Constructor.- Parameters:
message- exception message
-
DataExpiredException
Constructor.- Parameters:
wrappedException- exception to be wrapped by this one
-
DataExpiredException
Constructor.- Parameters:
message- exception messagewrappedException- exception to be wrapped by this one
-
DataExpiredException
Constructor .- Parameters:
exp- data expiration- Since:
- 9.3.0
-
DataExpiredException
Constructor.- Parameters:
message- exception messageexp- data expiration- Since:
- 9.3.0
-
DataExpiredException
Constructor.- Parameters:
wrappedException- exception to be wrapped by this oneexp- data expiration- Since:
- 9.3.0
-
DataExpiredException
public DataExpiredException(@Nullable String message, @Nullable Exception wrappedException, @Nullable Instant exp) Constructor.- Parameters:
message- exception messagewrappedException- exception to be wrapped by this oneexp- data expiration- Since:
- 9.3.0
-
-
Method Details
-
getExpiration
Gets data expiration if known.- Returns:
- data expiration, or null
-