예제 #1
0
  private void error(String description, Exception e) {
    close();

    throw new AutomatonExportException(description, e);
  }
예제 #2
0
  /**
   * Close the process (if needed), and raise an error
   *
   * @param description the error description
   */
  private void error(String description) {
    Hyst.logDebug(description);
    close();

    throw new AutomatonExportException(description);
  }