org.sonar.squidbridge.api.AnalysisException Java Examples
The following examples show how to use
org.sonar.squidbridge.api.AnalysisException.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractLanguageAnalyzerSensor.java From sonar-css-plugin with GNU Lesser General Public License v3.0 | 4 votes |
private static void checkInterrupted(Exception e) { Throwable cause = Throwables.getRootCause(e); if (cause instanceof InterruptedException || cause instanceof InterruptedIOException) { throw new AnalysisException("Analysis cancelled", e); } }
Example #2
Source File: GherkinSquidSensor.java From sonar-gherkin-plugin with GNU Lesser General Public License v3.0 | 4 votes |
private static void checkInterrupted(Exception e) { Throwable cause = Throwables.getRootCause(e); if (cause instanceof InterruptedException || cause instanceof InterruptedIOException) { throw new AnalysisException("Analysis cancelled", e); } }
Example #3
Source File: HtlFilesAnalyzer.java From AEM-Rules-for-SonarQube with Apache License 2.0 | 4 votes |
private static void checkInterrupted(Exception e) { Throwable cause = Throwables.getRootCause(e); if (cause instanceof InterruptedException || cause instanceof InterruptedIOException) { throw new AnalysisException("Analysis cancelled", e); } }