|
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.LicenseInUseException
public class LicenseInUseException
A license or licenses is in use on another device or devices. When a client requests a set of licenses the applicable licenses may be checked out to one or more devices. If no other licenses are available, this exception will be thrown informing the caller of the devices that are using the licenses.
The error message associated with this exception is:
IRM-01025: Licenses are available, but are on the following device(s): {0}.
Constructor Summary | |
---|---|
LicenseInUseException(Collection<Device> devices) Constructor. |
|
LicenseInUseException(Collection<Device> devices, Throwable cause) Constructor. |
Method Summary | |
---|---|
Collection<Device> |
getDevices() The list of devices the licenses are being 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 LicenseInUseException(Collection<Device> devices)
devices
- The list of devices the licenses are being used.public LicenseInUseException(Collection<Device> devices, Throwable cause)
devices
- The list of devices the licenses are being used.cause
- Cause of the exception.Method Detail |
---|
public final Collection<Device> getDevices()
|
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 |