Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.apache.xerces.xni
Class XNIException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  weblogic.apache.xerces.xni.XNIException

All Implemented Interfaces:
  Serializable

Direct Known Subclasses:
  XMLConfigurationException, XMLParseException

Deprecated. please use JDK supplied XML parsers and transformers

    public class XNIException

extends RuntimeException

This exception is the base exception of all XNI exceptions. It can be constructed with an error message or used to wrap another exception object.

Note: By extending the Java `RuntimeException`, XNI handlers and components are not required to catch XNI exceptions but may explicitly catch them, if so desired.

See Also:
  Serialized Form

Constructor Summary
`XNIException(Exception exception)` Deprecated. Constructs an XNI exception with a wrapped exception.
`XNIException(String message)` Deprecated. Constructs an XNI exception with a message.
`XNIException(String message, Exception exception)` Deprecated. Constructs an XNI exception with a message and wrapped exception.

Method Summary
`Exception` | `getException()` Deprecated. Returns the wrapped exception.

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

### XNIException

    public XNIException(String message)

  Deprecated.
  Constructs an XNI exception with a message.

  Parameters:
    `message` - The exception message.

### XNIException

    public XNIException(Exception exception)

  Deprecated.
  Constructs an XNI exception with a wrapped exception.

  Parameters:
    `exception` - The wrapped exception.

### XNIException

    public XNIException(String message,
                        Exception exception)

  Deprecated.
  Constructs an XNI exception with a message and wrapped exception.

  Parameters:
    `message` - The exception message.
    `exception` - The wrapped exception.

Method Detail

### getException

    public Exception getException()

  Deprecated.
  Returns the wrapped exception.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs92 Copyright 2006 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD