StashApplyFailureException.java

  1. package org.eclipse.jgit.api.errors;

  2. /**
  3.  * Thrown from StashApplyCommand when stash apply fails
  4.  */
  5. public class StashApplyFailureException extends GitAPIException {

  6.     private static final long serialVersionUID = 1L;

  7.     /**
  8.      * Constructor for StashApplyFailureException
  9.      *
  10.      * @param message
  11.      *            error message
  12.      * @param cause
  13.      *            a {@link java.lang.Throwable}
  14.      * @since 4.1
  15.      */
  16.     public StashApplyFailureException(String message, Throwable cause) {
  17.         super(message, cause);
  18.     }

  19.     /**
  20.      * Create a StashApplyFailedException
  21.      *
  22.      * @param message
  23.      *            error message
  24.      */
  25.     public StashApplyFailureException(String message) {
  26.         super(message);
  27.     }

  28. }