From d4932620e067a19a8cc22170fd133cc53aca2ddb Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Thu, 23 May 2013 18:08:35 -0700 Subject: ArchiveCommand: make archive formats non-inner classes First step toward making ArchiveCommand itself format-agnostic. Change-Id: I3cff5fce28fa7a19e34f8291cfb5b62f16429713 --- .../src/org/eclipse/jgit/api/errors/GitAPIException.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/errors') diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java index ba38529ab3..92599ca7d6 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java @@ -45,11 +45,19 @@ package org.eclipse.jgit.api.errors; public abstract class GitAPIException extends Exception { private static final long serialVersionUID = 1L; - GitAPIException(String message, Throwable cause) { + /** + * Constructs a new exception with the specified detail + * message and cause. + */ + protected GitAPIException(String message, Throwable cause) { super(message, cause); } - GitAPIException(String message) { + /** + * Constructs a new exception with the specified detail + * message and no cause. + */ + protected GitAPIException(String message) { super(message); } } -- cgit v1.2.3