Skip navigation links

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

E12907-02


oracle.irm.engine.rights.context
Class InvalidFeaturesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by oracle.irm.engine.rights.context.InvalidFeaturesException

All Implemented Interfaces:
Serializable

public class InvalidFeaturesException
extends IllegalArgumentException

Invalid features. A document role must have at least one primary feature.

The error message associated with this exception is:

IRM-01045: The \"{0}\" role must have at least one primary feature.
See Also:
Serialized Form

Constructor Summary
InvalidFeaturesException(DocumentRole documentRole)
          Constructor.
InvalidFeaturesException(DocumentRole documentRole, Throwable cause)
          Constructor.

 

Method Summary
 DocumentRole getDocumentRole()
          The invalid document role.

 

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

InvalidFeaturesException

public InvalidFeaturesException(DocumentRole documentRole)
Constructor.
Parameters:
documentRole - The invalid document role.

InvalidFeaturesException

public InvalidFeaturesException(DocumentRole documentRole,
                                Throwable cause)
Constructor.
Parameters:
documentRole - The invalid document role.
cause - Cause of the exception.

Method Detail

getDocumentRole

public final DocumentRole getDocumentRole()
The invalid document role.
Returns:
the value of the property. This method will never return null.

Skip navigation links

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

E12907-02


Copyright © 2010, Oracle. All rights reserved.