Mercurial > hg4j
comparison src/org/tmatesoft/hg/internal/Internals.java @ 421:fdd7d756dea0 v0.8.5
Allow IOException from DataAccess methods for subclasses with non-trivial implementations, to avoid exception dumps when inapropriate
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 22 Mar 2012 23:09:11 +0100 |
parents | 6c22bdc0bdfd |
children | 48f993aa2f41 |
comparison
equal
deleted
inserted
replaced
420:6c22bdc0bdfd | 421:fdd7d756dea0 |
---|---|
88 | 88 |
89 public void parseRequires(HgRepository hgRepo, File requiresFile) { | 89 public void parseRequires(HgRepository hgRepo, File requiresFile) { |
90 try { | 90 try { |
91 new RequiresFile().parse(this, requiresFile); | 91 new RequiresFile().parse(this, requiresFile); |
92 } catch (IOException ex) { | 92 } catch (IOException ex) { |
93 // FIXME not quite sure error reading requires file shall be silently logged only. | 93 // FIXME EXCEPTIONS not quite sure error reading requires file shall be silently logged only. |
94 HgInternals.getContext(hgRepo).getLog().error(getClass(), ex, null); | 94 HgInternals.getContext(hgRepo).getLog().error(getClass(), ex, null); |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 public/*for tests, otherwise pkg*/ void setStorageConfig(int version, int flags) { | 98 public/*for tests, otherwise pkg*/ void setStorageConfig(int version, int flags) { |