1 package org.eclipse.jgit.api.errors; 2 3 /** 4 * Thrown from StashApplyCommand when stash apply fails 5 */ 6 public class StashApplyFailureException extends GitAPIException { 7 8 private static final long serialVersionUID = 1L; 9 10 /** 11 * Constructor for StashApplyFailureException 12 * 13 * @param message 14 * error message 15 * @param cause 16 * a {@link java.lang.Throwable} 17 * @since 4.1 18 */ 19 public StashApplyFailureException(String message, Throwable cause) { 20 super(message, cause); 21 } 22 23 /** 24 * Create a StashApplyFailedException 25 * 26 * @param message 27 * error message 28 */ 29 public StashApplyFailureException(String message) { 30 super(message); 31 } 32 33 }