Skip navigation links

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

E12907-01


oracle.irm.engine.content.type
Class IllegalMimeTypeException

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.content.type.IllegalMimeTypeException

All Implemented Interfaces:
Serializable

public class IllegalMimeTypeException
extends IllegalArgumentException

MIME type is syntactically invalid.

The error message associated with this exception is:

IRM-01014: The MIME type {0} is syntactically invalid.
See Also:
Serialized Form

Constructor Summary
IllegalMimeTypeException(String mimeType)
          Constructor.
IllegalMimeTypeException(String mimeType, Throwable cause)
          Constructor.

 

Method Summary
 String getMimeType()
          The invalid MIME type.

 

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

IllegalMimeTypeException

public IllegalMimeTypeException(String mimeType)
Constructor.
Parameters:
mimeType - The invalid MIME type.

IllegalMimeTypeException

public IllegalMimeTypeException(String mimeType,
                                Throwable cause)
Constructor.
Parameters:
mimeType - The invalid MIME type.
cause - Cause of the exception.

Method Detail

getMimeType

public final String getMimeType()
The invalid MIME type.
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.