Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus-services-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lange, Dr. Herbert
corpus-services-gui
Commits
a68adcd4
Commit
a68adcd4
authored
2 years ago
by
Lange, Dr. Herbert
Browse files
Options
Downloads
Patches
Plain Diff
add message if exception or error happens when running corpus services
parent
1056ba3c
No related branches found
No related tags found
No related merge requests found
Pipeline
#12238
passed
2 years ago
Stage: test
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/uni_hamburg/corpora/gui/GUI.java
+8
-0
8 additions, 0 deletions
src/main/java/de/uni_hamburg/corpora/gui/GUI.java
with
8 additions
and
0 deletions
src/main/java/de/uni_hamburg/corpora/gui/GUI.java
+
8
−
0
View file @
a68adcd4
...
...
@@ -111,6 +111,14 @@ public class GUI {
checkButton
.
setEnabled
(
true
);
updateButton
.
setEnabled
(
true
);
}
catch
(
Exception
|
Error
e
)
{
JOptionPane
.
showMessageDialog
(
window
,
"Problem "
+
e
.
getClass
().
toString
()
+
" when running corpus services. "
+
"Check the console for details"
,
"Error"
,
JOptionPane
.
ERROR_MESSAGE
);
e
.
printStackTrace
();
}
});
// Handle update
updateButton
.
addActionListener
(
actionEvent
->
{
...
...
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