com.topologi.diffx
Class DiffXException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.topologi.diffx.DiffXException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FactoryException, LoadingException

public class DiffXException
extends Exception

The mother of all Diff-X exceptions.

This class is provided for convenience to distinguish between the purely DiffX exceptions and exception of a different origin.

Version:
27 March 2010
Author:
Christophe Lauret
See Also:
Serialized Form

Constructor Summary
DiffXException()
          Creates a new Diff-X exception.
DiffXException(Exception ex)
          Creates a new Diff-X exception wrapping an occurring exception.
DiffXException(String message)
          Creates a new Diff-X exception with a given message.
DiffXException(String message, Exception ex)
          Creates a new Diff-X exception wrapping an occurring exception.
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiffXException

public DiffXException()
Creates a new Diff-X exception.


DiffXException

public DiffXException(String message)
Creates a new Diff-X exception with a given message.

Parameters:
message - The message explaining the exception.

DiffXException

public DiffXException(Exception ex)
Creates a new Diff-X exception wrapping an occurring exception.

Parameters:
ex - The exception to be wrapped.

DiffXException

public DiffXException(String message,
                      Exception ex)
Creates a new Diff-X exception wrapping an occurring exception.

Parameters:
message - The message explaining the exception.
ex - The exception to be wrapped.