|
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
java.lang.RuntimeException
oracle.irm.engine.content.sealing.PublicHeaderLengthException
public class PublicHeaderLengthException
Public header length exception. When sealed content is created (or resealed) a public header is written into sealed content as XML. The public header has a maximum size defined that prevents creation of large public headers. A public header will typically only exceed the maximum size if the custom data or classification cookie are large.
The error message associated with this exception is:
IRM-01078: The public header cannot exceed {1} bytes in length. The current public header when written as XML has a length of {0} bytes. Reduce the amount of data provided in the custom data or classification cookie.
Constructor Summary | |
---|---|
PublicHeaderLengthException(int length, int maximum) Constructor. |
|
PublicHeaderLengthException(int length, int maximum, Throwable cause) Constructor. |
Method Summary | |
---|---|
int |
getLength() Actual length. |
int |
getMaximum() Maximum length. |
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 PublicHeaderLengthException(int length, int maximum)
length
- Actual length.maximum
- Maximum length.public PublicHeaderLengthException(int length, int maximum, Throwable cause)
length
- Actual length.maximum
- Maximum length.cause
- Cause of the exception.Method Detail |
---|
public final int getLength()
public final int getMaximum()
|
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 |