Package org.geppetto.core.common

Examples of org.geppetto.core.common.GeppettoExecutionException


                      newNode.addPhysicalQuantity(quantity);
                      node.addChild(newNode);
                    }
                    catch(IOException | InvalidRangeException e)
                    {
                      throw new GeppettoExecutionException(e);
                    }
                  }
                }
              }
            }
          }
          _currentRecordingIndex++;
        }
      }
      else
      {
        for(RecordingModel recording : _recordings)
        {
          UpdateRecordingStateTreeVisitor updateStateTreeVisitor = new UpdateRecordingStateTreeVisitor(recording, watchTree.getInstancePath(), _currentRecordingIndex++);
          watchTree.apply(updateStateTreeVisitor);
          if(updateStateTreeVisitor.getError() != null)
          {
            throw new GeppettoExecutionException(updateStateTreeVisitor.getError());
          }
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.geppetto.core.common.GeppettoExecutionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.