public class RefNotFoundException extends GitAPIException {
private static final long serialVersionUID = 1L;
+ /**
+ * @param message
+ * @param cause
+ * @since 4.1
+ */
+ public RefNotFoundException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
/**
* @param message
*/
private static final long serialVersionUID = 1L;
+ /**
+ * @param message
+ * @param cause
+ * @since 4.1
+ */
+ public StashApplyFailureException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
/**
* Create a StashApplyFailedException
*
public UnmergedPathsException(Throwable cause) {
super(JGitText.get().unmergedPaths, cause);
}
+
+ /**
+ * @param message
+ * @param cause
+ * @since 4.1
+ */
+ public UnmergedPathsException(String message, Throwable cause) {
+ super(message, cause);
+ }
}
*/
public class DiffInterruptedException extends RuntimeException {
private static final long serialVersionUID = 1L;
+
+ /**
+ * @param message
+ * @param cause
+ * @since 4.1
+ */
+ public DiffInterruptedException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * @param message
+ * @since 4.1
+ */
+ public DiffInterruptedException(String message) {
+ super(message);
+ }
+
+ public DiffInterruptedException() {
+ super();
+ }
}
private File file;
+ /**
+ * @param file
+ * file that could not be locked
+ * @param message
+ * exception message
+ * @param cause
+ * cause, for later retrieval by {@link Throwable#getCause()}
+ * @since 4.1
+ */
+ public LockFailedException(File file, String message, Throwable cause) {
+ super(message, cause);
+ this.file = file;
+ }
+
/**
* Construct a CannotLockException for the given file and message
*
public class ServiceNotAuthorizedException extends Exception {
private static final long serialVersionUID = 1L;
+ /**
+ * @param message
+ * @param cause
+ * @since 4.1
+ */
+ public ServiceNotAuthorizedException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * @param message
+ * @since 4.1
+ */
+ public ServiceNotAuthorizedException(String message) {
+ super(message);
+ }
+
public ServiceNotAuthorizedException() {
super(JGitText.get().unauthorized);
}
public class ServiceNotEnabledException extends Exception {
private static final long serialVersionUID = 1L;
+ /**
+ * @param message
+ * @param cause
+ * @since 4.1
+ */
+ public ServiceNotEnabledException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * @param message
+ * @since 4.1
+ */
+ public ServiceNotEnabledException(String message) {
+ super(message);
+ }
+
/** Indicates the request service is not available. */
public ServiceNotEnabledException() {
super(JGitText.get().serviceNotEnabledNoName);