Package org.twodividedbyzero.idea.findbugs.common.exception

Examples of org.twodividedbyzero.idea.findbugs.common.exception.FindBugsPluginException


        _enabled = tree.isExpanded(1) && tree.getRowCount() > 1;
        presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
        presentation.setVisible(true);
      }
    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here


      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here

    while (root != null && root.getCause() != null && !(root instanceof AnalysisException)) {
      root = root.getCause();
    }

    if (message != null) {
      return new FindBugsPluginException(message, root);
    }

    if (root != null) {
      return new FindBugsPluginException(root.getMessage(), root);
    }

    return new FindBugsPluginException("Unknown error..."); // this should never happen
  }
View Full Code Here

      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here

      for (final OrderEntry entry : orderEntries) {
        Collections.addAll(found, entry.getFiles(OrderRootType.CLASSES));
      }
      files = found.toArray(new VirtualFile[found.size()]);
    } catch (final Exception e) {
      throw new FindBugsPluginException("ModuleRootManager must not be null. may be the current class is not a project/module class. check your project/module outpath configuration.", e);
    }
    return files;
  }
View Full Code Here

    }

    if (module == null) {
      final Module[] modules = getModules(project);
      if (modules.length < 1) {
        throw new FindBugsPluginException("You have no modules configured inside your project (" + project + ')');
      }
      module = modules[0];
    }

    return module;
View Full Code Here

      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here

      }
      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here

      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here

      }
      presentation.setEnabled(toolWindow.isAvailable() && isEnabled());
      presentation.setVisible(true);

    } catch (final Throwable e) {
      final FindBugsPluginException processed = FindBugsPluginImpl.processError("Action update failed", e);
      LOGGER.error("Action update failed", processed);
    }
  }
View Full Code Here

TOP

Related Classes of org.twodividedbyzero.idea.findbugs.common.exception.FindBugsPluginException

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.