|
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
oracle.irm.engine.types.content.sealing.ContentSizeMismatchException
public class ContentSizeMismatchException
Content Size Mismatch exception information. When unsealed content is sealed the size of the unsealed data can be explicitly specified or inferred from the input data (e.g. file size or byte array length). This exception is thrown when the unsealed content size provided during sealing does not match the amount of data read from the unsealed data stream.
This class is used to store the state of an EJB exception and the fault data in a Web Service exception.
Constructor Summary | |
---|---|
ContentSizeMismatchException() Default constructor. |
|
ContentSizeMismatchException(long expected, long actual) Constructor. |
Method Summary | |
---|---|
long |
getActual() Actual size of the data read from the stream. |
long |
getExpected() The expected size of the unsealed data. |
void |
setActual(long value) Actual size of the data read from the stream. |
void |
setExpected(long value) The expected size of the unsealed data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentSizeMismatchException()
public ContentSizeMismatchException(long expected, long actual)
Method Detail |
---|
public long getExpected()
public void setExpected(long value)
value
- the new value for the property.public long getActual()
public void setActual(long value)
value
- the new value for the property.
|
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 |