it.unimo.dbgroup.momis.XmlTools
Class XmlToolsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byit.unimo.dbgroup.momis.XmlTools.XmlToolsException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
XmlWriterException

public class XmlToolsException
extends java.lang.Exception

Thrown when XmlTools can't accomplish a XML related operation.

This Exception often will wrap a Throwable item, that describe the cause of this exception.
Use getException to obtain the wrapped exception.

See Also:
Serialized Form

Field Summary
private  java.lang.Throwable _exception
          Reference to the wrapped exception.
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XmlToolsException(java.lang.String message)
          Create a new XmlToolsException with an error message.
XmlToolsException(java.lang.Throwable t, java.lang.String message)
          Create a new exception that wraps a Throwable item.
 
Method Summary
 java.lang.Throwable getException()
          Returns the wrapped Exception, returns null if no exception is carried.
 
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
 

Field Detail

_exception

private java.lang.Throwable _exception
Reference to the wrapped exception.

Constructor Detail

XmlToolsException

public XmlToolsException(java.lang.String message)
Create a new XmlToolsException with an error message.


XmlToolsException

public XmlToolsException(java.lang.Throwable t,
                         java.lang.String message)
Create a new exception that wraps a Throwable item.

Parameters:
t - Exception to be wrapped.
message - error message.
Method Detail

getException

public java.lang.Throwable getException()
Returns the wrapped Exception, returns null if no exception is carried.



Universita' di Modena e Reggio Emilia