Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
8a2853dc
Commit
8a2853dc
authored
17 years ago
by
brinn
Browse files
Options
Downloads
Patches
Plain Diff
improve: handling of the case where handler.handle() throws an Error
SVN: 877
parent
43f7e15c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/source/java/ch/systemsx/cisd/common/utilities/DirectoryScanningTimerTask.java
+7
-9
7 additions, 9 deletions
...msx/cisd/common/utilities/DirectoryScanningTimerTask.java
with
7 additions
and
9 deletions
common/source/java/ch/systemsx/cisd/common/utilities/DirectoryScanningTimerTask.java
+
7
−
9
View file @
8a2853dc
...
...
@@ -225,19 +225,17 @@ public final class DirectoryScanningTimerTask extends TimerTask implements ISelf
try
{
final
boolean
handledOK
=
handler
.
handle
(
path
);
if
(
handledOK
&&
path
.
exists
())
{
operationLog
.
warn
(
String
.
format
(
"Handler %s reports path '%s' be handled OK, but path still exists."
,
handler
.
getClass
().
getSimpleName
(),
path
));
}
}
finally
{
if
(
path
.
exists
())
{
if
(
handledOK
)
{
operationLog
.
warn
(
String
.
format
(
"Handler %s reports path '%s' be handled OK, but path still exists."
,
handler
.
getClass
().
getSimpleName
(),
path
));
}
addToFaultyPaths
(
path
);
}
}
catch
(
RuntimeException
ex
)
{
addToFaultyPaths
(
path
);
throw
ex
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment