Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * This file is part of the DiffX library.
  *
  * For licensing information please see the file license.txt included in the release.
  * A copy of this licence can also be found at
  *   http://www.opensource.org/licenses/artistic-license-2.0.php
  */
 package com.topologi.diffx;

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.

Author(s):
Christophe Lauret
Version:
27 March 2010
public class DiffXException extends Exception {

  
As per requirement by the Serializable interface.
  private static final long serialVersionUID = 3572025323967229569L;

  
Creates a new Diff-X exception.
  public DiffXException() {
    super();
  }

  
Creates a new Diff-X exception with a given message.

Parameters:
message The message explaining the exception.
  public DiffXException(String message) {
    super(message);
  }

  
Creates a new Diff-X exception wrapping an occurring exception.

Parameters:
ex The exception to be wrapped.
  public DiffXException(Exception ex) {
    super(ex);
  }

  
Creates a new Diff-X exception wrapping an occurring exception.

Parameters:
message The message explaining the exception.
ex The exception to be wrapped.
  public DiffXException(String messageException ex) {
    super(messageex);
  }
New to GrepCode? Check out our FAQ X