org.jasig.cas.adaptors.x509.authentication.handler.support
Class ExpiredCRLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by org.jasig.cas.adaptors.x509.authentication.handler.support.ExpiredCRLException
All Implemented Interfaces:
Serializable

public class ExpiredCRLException
extends GeneralSecurityException

Exception describing an expired CRL condition.

Since:
3.4.6
Version:
$Revision$
Author:
Marvin S. Addison
See Also:
Serialized Form

Constructor Summary
ExpiredCRLException(String identifier, Date expirationDate)
          Creates a new instance describing a CRL that expired on the given date.
ExpiredCRLException(String identifier, Date expirationDate, int leniency)
          Creates a new instance describing a CRL that expired on a date that is more than leniency seconds beyond its expiration date.
 
Method Summary
 Date getExpirationDate()
           
 String getId()
           
 int getLeniency()
           
 String getMessage()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpiredCRLException

public ExpiredCRLException(String identifier,
                           Date expirationDate)
Creates a new instance describing a CRL that expired on the given date.

Parameters:
identifier - Identifier or name that describes CRL.
expirationDate - CRL expiration date.

ExpiredCRLException

public ExpiredCRLException(String identifier,
                           Date expirationDate,
                           int leniency)
Creates a new instance describing a CRL that expired on a date that is more than leniency seconds beyond its expiration date.

Parameters:
identifier - Identifier or name that describes CRL.
expirationDate - CRL expiration date.
leniency - Number of seconds beyond the expiration date at which the CRL is considered expired. MUST be non-negative integer.
Method Detail

getId

public String getId()
Returns:
Returns the id.

getExpirationDate

public Date getExpirationDate()
Returns:
Returns the expirationDate.

getLeniency

public int getLeniency()
Returns:
Returns the leniency.

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable


Copyright © 2004-2013 Jasig. All Rights Reserved.