Skip navigation links

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

E12907-03


oracle.irm.engine.content.sealing
Class ContentParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by oracle.irm.engine.content.sealing.ContentParseException

All Implemented Interfaces:
Serializable

public class ContentParseException
extends IOException

Sealed content parse exception. This exception is thrown when the unsealing or resealing process encounters a parse error.

The error message associated with this exception is:

IRM-01010: An exception occurred parsing sealed content: {0}.
See Also:
Serialized Form

Nested Class Summary
static class ContentParseException.Reason
          The reason for the parse error.

 

Constructor Summary
ContentParseException(ContentParseException.Reason reason)
          Constructor.
ContentParseException(ContentParseException.Reason reason, Throwable cause)
          Constructor.

 

Method Summary
 ContentParseException.Reason getReason()
          The reason the parsing failed.

 

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

ContentParseException

public ContentParseException(ContentParseException.Reason reason)
Constructor.
Parameters:
reason - The reason the parsing failed.

ContentParseException

public ContentParseException(ContentParseException.Reason reason,
                             Throwable cause)
Constructor.
Parameters:
reason - The reason the parsing failed.
cause - Cause of the exception.

Method Detail

getReason

public final ContentParseException.Reason getReason()
The reason the parsing failed.
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-03


Copyright © 2011, Oracle. All rights reserved.