/** Add the new exception in the content pane */
  private void addCustomException() {
    String customException = addNewExceptionField.getText().trim();
    Object[] currentElements = contentProvider.getElements(inputElement);

    ArrayList<Object> currentElementsList = new ArrayList<Object>();
    for (int i = 0; i < currentElements.length; ++i) {
      Object element = currentElements[i];
      currentElementsList.add(element);
    }

    if (customException.isEmpty()) {
      return;
    }

    if (!currentElementsList.contains(customException)) {
      getViewer().add(customException);
      addNewExceptionField.setText("");
      ((PyExceptionListProvider) contentProvider).addUserConfiguredException(customException);
    } else {
      IStatus status =
          new Status(
              IStatus.WARNING,
              DebugUIPlugin.getUniqueIdentifier(),
              "Duplicate: This exception already exists");
      DebugUIPlugin.errorDialog(
          getShell(),
          DebugUIPlugin.removeAccelerators("Add Custom User Exception"),
          "Error",
          status);
    }
  }
 public String getColumnText(Object element, int columnIndex) {
   String label = ((LaunchGroupExtension) element).getLabel();
   return DebugUIPlugin.removeAccelerators(label);
 }