Skip navigation links

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

E12907-01


oracle.irm.engine.rights.context
Class InvalidTimePeriodException

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.InvalidTimePeriodException

All Implemented Interfaces:
Serializable

public class InvalidTimePeriodException
extends IllegalArgumentException

Invalid time period. A document role must have a refresh period greater that one minute.

The error message associated with this exception is:

IRM-01046: The \"{0}\" role must have a refresh period greater that one minute.
See Also:
Serialized Form

Constructor Summary
InvalidTimePeriodException(DocumentRole documentRole)
          Constructor.
InvalidTimePeriodException(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

InvalidTimePeriodException

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

InvalidTimePeriodException

public InvalidTimePeriodException(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-01


Copyright © 2010, Oracle. All rights reserved.