org.apache.xerces.xni
Class XNIException
RuntimeException
org.apache.xerces.xni.XNIException
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.
$Id: XNIException.java 447247 2006-09-18 05:23:52Z mrglavas $XNIException(Exception exception) - Constructs an XNI exception with a wrapped exception.
|
XNIException(String message) - Constructs an XNI exception with a message.
|
XNIException(String message, Exception exception) - Constructs an XNI exception with a message and wrapped exception.
|
XNIException
public XNIException(Exception exception)
Constructs an XNI exception with a wrapped exception.
exception
- The wrapped exception.
XNIException
public XNIException(String message)
Constructs an XNI exception with a message.
message
- The exception message.
XNIException
public XNIException(String message,
Exception exception)
Constructs an XNI exception with a message and wrapped exception.
message
- The exception message.exception
- The wrapped exception.
getException
public Exception getException()
Returns the wrapped exception.
Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.