- try
- {
- bindMicroInstructionMemory(MicroInstructionMemoryParser.parseMemory(context.getMachineDefinition()
- .orElseThrow(() -> new MicroInstructionMemoryParseException("No MachineDefinition assigned!"))
- .getMicroInstructionMemoryDefinition(), file.getContents()));
- }
- catch (IOException | MicroInstructionMemoryParseException | CoreException e)
- {
-
- // TODO: Proper handling via IProgressMonitor
- e.printStackTrace();
- }
+ bindMicroInstructionMemory(MicroInstructionMemoryParser.parseMemory(
+ context.getMachineDefinition().orElseThrow(() -> new MicroInstructionMemoryParseException("No MachineDefinition assigned!"))
+ .getMicroInstructionMemoryDefinition(),
+ file.getContents()));