Package com.topologi.diffx
Class DiffXException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.topologi.diffx.DiffXException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FactoryException,LoadingException
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longAs per requirement by the Serializable interface. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Diff-X exception.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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDAs per requirement by the Serializable interface.- See Also:
-
-
Constructor Details
-
DiffXException
public DiffXException()Creates a new Diff-X exception. -
DiffXException
Creates a new Diff-X exception with a given message.- Parameters:
message- The message explaining the exception.
-
DiffXException
Creates a new Diff-X exception wrapping an occurring exception.- Parameters:
ex- The exception to be wrapped.
-
DiffXException
Creates a new Diff-X exception wrapping an occurring exception.- Parameters:
message- The message explaining the exception.ex- The exception to be wrapped.
-