|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.irm.engine.core.license.LicenseUnavailableException
public class LicenseUnavailableException
One or more licenses is unavailable for use. 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.
The error message associated with this exception is:
IRM-01080: Licenses are available, but they cannot be used for the following reasons: {0}.
Constructor Summary | |
---|---|
LicenseUnavailableException(Collection<LicenseStatus> licenses) Constructor. |
|
LicenseUnavailableException(Collection<LicenseStatus> licenses, Throwable cause) Constructor. |
Method Summary | |
---|---|
Collection<LicenseStatus> |
getLicenses() The list of licenses and the reasons why the licenses cannot be used. |
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 |
---|
public LicenseUnavailableException(Collection<LicenseStatus> licenses)
licenses
- The list of licenses and the reasons why the licenses cannot be used.public LicenseUnavailableException(Collection<LicenseStatus> licenses, Throwable cause)
licenses
- The list of licenses and the reasons why the licenses cannot be used.cause
- Cause of the exception.Method Detail |
---|
public final Collection<LicenseStatus> getLicenses()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |