diff options
author | Chris Aniszczyk <caniszczyk@gmail.com> | 2010-08-31 15:46:58 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-09-01 15:27:43 -0700 |
commit | 38327a54a86697458a1b326278e04833c105c00e (patch) | |
tree | 07f7fb8a462c4ef4def71c07dd19190e1a7eaf8a /org.eclipse.jgit.pgm | |
parent | ea4ff61ad3de3f5742905c7a92e99cf041d19596 (diff) | |
download | jgit-38327a54a86697458a1b326278e04833c105c00e.tar.gz jgit-38327a54a86697458a1b326278e04833c105c00e.zip |
Refactor Git API exceptions to a new package
Create a new 'org.eclipse.jgit.api.errors' package to contain
exceptions related to using the Git porcelain API.
Change-Id: Iac1781bd74fbd520dffac9d347616c3334994470
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/META-INF/MANIFEST.MF | 1 | ||||
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Commit.java | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF index d6eac232e1..771e113d3b 100644 --- a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF @@ -7,6 +7,7 @@ Bundle-Vendor: %provider_name Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 Import-Package: org.eclipse.jgit.api;version="[0.9.0,0.10.0)", + org.eclipse.jgit.api.errors;version="[0.9.0,0.10.0)", org.eclipse.jgit.awtui;version="[0.9.0,0.10.0)", org.eclipse.jgit.diff;version="[0.9.0,0.10.0)", org.eclipse.jgit.dircache;version="[0.9.0,0.10.0)", diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Commit.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Commit.java index 5cf598917e..2737422dc2 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Commit.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Commit.java @@ -38,11 +38,11 @@ package org.eclipse.jgit.pgm; import org.eclipse.jgit.api.CommitCommand; -import org.eclipse.jgit.api.ConcurrentRefUpdateException; import org.eclipse.jgit.api.Git; -import org.eclipse.jgit.api.JGitInternalException; -import org.eclipse.jgit.api.NoHeadException; -import org.eclipse.jgit.api.NoMessageException; +import org.eclipse.jgit.api.errors.ConcurrentRefUpdateException; +import org.eclipse.jgit.api.errors.JGitInternalException; +import org.eclipse.jgit.api.errors.NoHeadException; +import org.eclipse.jgit.api.errors.NoMessageException; import org.eclipse.jgit.lib.Constants; import org.eclipse.jgit.lib.Ref; import org.eclipse.jgit.revwalk.RevCommit; |