net.xineo.xml.handler
Class HandlerException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.xineo.xml.handler.HandlerException
All Implemented Interfaces:
java.io.Serializable

public class HandlerException
extends java.lang.Exception

This exception may be thrown by object handlers during parsing. It will usually be found embeded in the SAX exception thrown by the XML reader, and may itself embed another exception.

Version:
1.0
Author:
Fr�d�rik Bilhaut
See Also:
SAXException, Serialized Form

Constructor Summary
HandlerException()
          Creates a new exception with an empty message.
HandlerException(java.lang.Exception exception)
          Creates a new exception with an embeded exception.
HandlerException(java.lang.String message)
          Creates a new exception with the given message.
 
Method Summary
 java.lang.Exception getException()
          Returns the embeded exception, or null if no exception is embeded.
 
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

HandlerException

public HandlerException()
Creates a new exception with an empty message.


HandlerException

public HandlerException(java.lang.String message)
Creates a new exception with the given message.

Parameters:
message - A message describing the exception.

HandlerException

public HandlerException(java.lang.Exception exception)
Creates a new exception with an embeded exception.

Parameters:
exception - The exception to embed in this one.
Method Detail

getException

public java.lang.Exception getException()
Returns the embeded exception, or null if no exception is embeded.

Returns:
The embeded exception (may be null).


Copyright © 2002 Frédérik Bilhaut - Xineo.NET