com.deltaxml.odf
Class OdfLicenseNotYetValidException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.deltaxml.odf.OdfException
              extended by com.deltaxml.odf.OdfLicensingException
                  extended by com.deltaxml.odf.OdfLicenseNotYetValidException
All Implemented Interfaces:
Serializable

public class OdfLicenseNotYetValidException
extends OdfLicensingException

An exception indicating that this license has not yet started.

An activation key or license contains a start date which specifies the date on which a license starts.

See Also:
Serialized Form

Constructor Summary
OdfLicenseNotYetValidException(Date startDate, String product)
          Constructs a new OdfLicenseNotYetValidException with a default message
OdfLicenseNotYetValidException(String message, Date startDate, String product)
          Constructs a new OdfLicenseNotYetValidException with a configurable message
 
Method Summary
 Date getLicenseStartDate()
          Reports the start date for the license
 
Methods inherited from class com.deltaxml.odf.OdfLicensingException
getProduct
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OdfLicenseNotYetValidException

public OdfLicenseNotYetValidException(Date startDate,
                                      String product)
Constructs a new OdfLicenseNotYetValidException with a default message

Parameters:
startDate - the date the license starts
product - the ODF product for which the license has not yet started

OdfLicenseNotYetValidException

public OdfLicenseNotYetValidException(String message,
                                      Date startDate,
                                      String product)
Constructs a new OdfLicenseNotYetValidException with a configurable message

Parameters:
message - the exception message
startDate - the date the license starts
product - the ODF product for which the license has not yet started
Method Detail

getLicenseStartDate

public Date getLicenseStartDate()
Reports the start date for the license

Returns:
the start date for the license


© 2001-2009 DeltaXML Ltd. All Rights Reserved.