Пример #1
0
  /**
   * Returns the TabularData
   *
   * @return TabularData containing the rows corresponding the AlarmTable
   */
  public TabularData getAlarmTable() {

    // User code starts here
    if (true) {
      return getTable();
    }
    // User code ends here

    try {
      if (table != null)
        return Utilities.getTabularData(this, indexNames, table, instrClassName, null);
      else if (vec != null)
        return Utilities.getTabularData(this, indexNames, vec, instrClassName, null);
    } catch (Exception ex) {
      ex.printStackTrace();
    }

    return null;
  }
Пример #2
0
 public void showStatus(String message, Exception ex) {
   // <Begin_showStatus_String_Exception>
   System.out.println(NmsClientUtil.GetString("Internal Error :") + message);
   ex.printStackTrace();
   // <End_showStatus_String_Exception>
 }