diff options
author | Jonathan Nieder <jrn@google.com> | 2013-05-23 18:08:35 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2013-05-23 18:08:35 -0700 |
commit | d4932620e067a19a8cc22170fd133cc53aca2ddb (patch) | |
tree | ef54dafb37197c2b8c1c5f2d61448b44a6d09d1c /org.eclipse.jgit/src/org/eclipse/jgit/api/errors | |
parent | f7157a622179b195d9f2747fe13c341d57590d3b (diff) | |
download | jgit-d4932620e067a19a8cc22170fd133cc53aca2ddb.tar.gz jgit-d4932620e067a19a8cc22170fd133cc53aca2ddb.zip |
ArchiveCommand: make archive formats non-inner classes
First step toward making ArchiveCommand itself format-agnostic.
Change-Id: I3cff5fce28fa7a19e34f8291cfb5b62f16429713
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/errors')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/errors/GitAPIException.java | 12 |
1 files changed, 10 insertions, 2 deletions
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); } } |