Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NeoSuit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Christian Wulf
NeoSuit
Commits
d65cdfac
Commit
d65cdfac
authored
9 years ago
by
Dean Jonas Finkes
Browse files
Options
Downloads
Patches
Plain Diff
error handling expert mode
parent
d3b2ad3e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
NeoSuit/src/main/java/ui/expert/ApplyParallelisationPatternController.java
+22
-0
22 additions, 0 deletions
...java/ui/expert/ApplyParallelisationPatternController.java
with
22 additions
and
0 deletions
NeoSuit/src/main/java/ui/expert/ApplyParallelisationPatternController.java
+
22
−
0
View file @
d65cdfac
...
...
@@ -128,6 +128,24 @@ public class ApplyParallelisationPatternController extends ConnectedControl {
}
});
queryTask
.
setOnFailed
(
new
EventHandler
<
WorkerStateEvent
>()
{
@Override
public
void
handle
(
final
WorkerStateEvent
workerStateEvent
)
{
updatePatternComboBox
.
setDisable
(
true
);
transformButton
.
setDisable
(
true
);
ObservableList
<
String
>
list
=
FXCollections
.
observableArrayList
();
matchingPositionsList
.
set
(
list
);
sequentialTextArea
.
setText
(
""
);
parallelizedTextArea
.
setText
(
""
);
Logger
.
exception
(
queryTask
.
exceptionProperty
().
get
());
popup
.
close
();
getApp
().
openPopup
(
ui
.
shared
.
MainApp
.
ERROR
,
true
,
"Error when matching selected Candidate Pattern!"
);
}
});
new
Thread
(
queryTask
).
start
();
}
...
...
@@ -171,7 +189,11 @@ public class ApplyParallelisationPatternController extends ConnectedControl {
@Override
public
void
handle
(
final
WorkerStateEvent
workerStateEvent
)
{
updateTask
.
exceptionProperty
().
get
().
printStackTrace
();
parallelizedTextArea
.
setText
(
""
);
transformButton
.
setDisable
(
true
);
popup
.
close
();
getApp
().
openPopup
(
ui
.
shared
.
MainApp
.
ERROR
,
true
,
"Error when matching selected Parallelisation Pattern!"
);
}
});
...
...
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