Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.core.license
Class LicenseUnavailableException

java.lang.Object
  extended by oracle.irm.engine.types.core.license.LicenseUnavailableException

All Implemented Interfaces:
Serializable

public class LicenseUnavailableException
extends Object
implements Serializable

License Unavailable exception information. When a client requests a set of licenses, licenses may exist but be unusable for the specified classification. For example, if the requested feature is not supported by the license. If no other licenses are available, this exception will be thrown informing the caller why the license or licenses are cannot be used.

This class is used to store the state of an EJB exception and the fault data in a Web Service exception.

See Also:
Serialized Form

Constructor Summary
LicenseUnavailableException()
          Default constructor.
LicenseUnavailableException(LicenseStatus[] licenses)
          Constructor.

 

Method Summary
 LicenseStatus[] getLicenses()
          The list of licenses and the reasons why the licenses cannot be used.
 void setLicenses(LicenseStatus[] value)
          The list of licenses and the reasons why the licenses cannot be used.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LicenseUnavailableException

public LicenseUnavailableException()
Default constructor.

LicenseUnavailableException

public LicenseUnavailableException(LicenseStatus[] licenses)
Constructor.

Method Detail

getLicenses

public LicenseStatus[] getLicenses()
The list of licenses and the reasons why the licenses cannot be used.
Returns:
the value of the property.

setLicenses

public void setLicenses(LicenseStatus[] value)
The list of licenses and the reasons why the licenses cannot be used.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.