Skip to content
Snippets Groups Projects
Commit d2af68a0 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

- Forward Exceptions thrown by the system model adapter.

parent d535b917
No related branches found
No related tags found
No related merge requests found
......@@ -77,21 +77,11 @@ public class Opt4JDseBackend implements IDseBackend {
// Input to DSE: {@link SystemModelAdapter} and {@link DesignSpaceExploration}.
// SystemModelAdapter systemModelAdapter;
try {
systemModelAdapter =
new AF3SystemModelAdapter(
parameters.getInputParameter(ComponentArchitecture.class),
parameters.getInputParameter(PlatformArchitecture.class),
parameters.getInputParameter(SystemParameterContainer.class));
} catch(Exception ex) {
// ExplorationUiUtil
// .showExceptionErrorAsync(
// "Error setting up the DSE",
// "Could not transform the input models to a valid input for the DSE. Please check the Component Architecture, Platform Architecture, and referenced models.",
// ex);
ex.printStackTrace();
return Optional.empty();
}
systemModelAdapter =
new AF3SystemModelAdapter(
parameters.getInputParameter(ComponentArchitecture.class),
parameters.getInputParameter(PlatformArchitecture.class),
parameters.getInputParameter(SystemParameterContainer.class));
try {
Explorer explorer = new Explorer();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment