ome.services.licenses
Class LicenseTimeout

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ome.conditions.RootException
                  extended by ome.services.licenses.LicenseException
                      extended by ome.services.licenses.LicenseTimeout
All Implemented Interfaces:
Serializable

public class LicenseTimeout
extends LicenseException

(CLIENT) Exception thrown on a regular method call when a previously valid license has timed out as interpreted by the LicenseStore. The LicenseStore may attempt to re-acquire a license transparently for the user, in which case this exception specifies that no licenses were available.

Since:
3.0-RC1
Author:
Josh Moore, josh.moore @ gmx.de
See Also:
Serialized Form

Constructor Summary
LicenseTimeout(String msg)
           
LicenseTimeout(String msg, boolean failedReacquisition)
           
 
Method Summary
 Boolean isFailedReacquisition()
          Returns Boolean.TRUE if a reacquisition was attempted and failed, Boolean.FALSE otherwise.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LicenseTimeout

public LicenseTimeout(String msg)

LicenseTimeout

public LicenseTimeout(String msg,
                      boolean failedReacquisition)
Method Detail

isFailedReacquisition

public Boolean isFailedReacquisition()
Returns Boolean.TRUE if a reacquisition was attempted and failed, Boolean.FALSE otherwise.



OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.