Skip navigation links

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

E12907-03


oracle.irm.engine.types.content.sealing
Class PublicHeaderLengthException

java.lang.Object
  extended by oracle.irm.engine.types.content.sealing.PublicHeaderLengthException

All Implemented Interfaces:
Serializable

public class PublicHeaderLengthException
extends Object
implements Serializable

Public Header Length exception information. 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.

This class is used to store the state of an EJB exception and the fault data in a Web Service exception.

See Also:
Serialized Form

Constructor Summary
PublicHeaderLengthException()
          Default constructor.
PublicHeaderLengthException(int length, int maximum)
          Constructor.

 

Method Summary
 int getLength()
          Actual length.
 int getMaximum()
          Maximum length.
 void setLength(int value)
          Actual length.
 void setMaximum(int value)
          Maximum length.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PublicHeaderLengthException

public PublicHeaderLengthException()
Default constructor.

PublicHeaderLengthException

public PublicHeaderLengthException(int length,
                                   int maximum)
Constructor.

Method Detail

getLength

public int getLength()
Actual length.
Returns:
the value of the property.

setLength

public void setLength(int value)
Actual length.
Parameters:
value - the new value for the property.

getMaximum

public int getMaximum()
Maximum length.
Returns:
the value of the property.

setMaximum

public void setMaximum(int value)
Maximum length.
Parameters:
value - the new value for the property.

Skip navigation links

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

E12907-03


Copyright © 2011, Oracle. All rights reserved.