diff options
author | Christian Halstrick <christian.halstrick@sap.com> | 2012-09-17 21:15:39 +0200 |
---|---|---|
committer | Christian Halstrick <christian.halstrick@sap.com> | 2012-09-17 22:41:06 +0200 |
commit | 84e171fbabd898ff46c714058d12a364c1b6499c (patch) | |
tree | c8e3a1151d600fac22f77b37d838d749d2f57892 /org.eclipse.jgit/resources | |
parent | 27b791c591a8216a792ad72818e729d841fa53b3 (diff) | |
download | jgit-84e171fbabd898ff46c714058d12a364c1b6499c.tar.gz jgit-84e171fbabd898ff46c714058d12a364c1b6499c.zip |
Introduce ParseExceptions for GitDateParser
Instead of just returning null when something was not parseable we
should throw a real ParseException. This allows us to distinguish
between specifications which are unparseable and those which represent
no date (e.g. "never")
Change-Id: Ib3c1aa64b65ed0e0270791a365f2fa72ab78a3f4
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index fd9cea4046..8a288cd070 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -55,6 +55,7 @@ cannotMatchOnEmptyString=Cannot match on empty string. cannotMoveIndexTo=Cannot move index to {0} cannotMovePackTo=Cannot move pack to {0} cannotOpenService=cannot open {0} +cannotParseDate=The date specification "{0}" could not be parsed with the following formats: {1} cannotParseGitURIish=Cannot parse Git URI-ish cannotPullOnARepoWithState=Cannot pull into a repository with state: {0} cannotRead=Cannot read {0} |