public ParsingResult getParbResult() throws org.netbeans.modules.parsing.spi.ParseException { if (!valid) { throw new org.netbeans.modules.parsing.spi.ParseException(); } return parbResult; }
@Override public void parse(final Snapshot snapshot, final Task task, SourceModificationEvent event) throws ParseException { try { checkSourceModification(event); parseImpl(snapshot, task); } catch (FileObjects.InvalidFileException ife) { //pass - already invalidated in parseImpl } catch (IOException ioe) { throw new ParseException ("JavacParser failure", ioe); //NOI18N } }
throw (ParseException)t; } else { throw new ParseException("User task failure", t); f.get(); } catch (InterruptedException ex) { ParseException err = new ParseException("Interrupted", ex); throw err; } catch (ExecutionException ex) { throw (ParseException)cause; ParseException ioex = new ParseException("User task failure", ex); throw ioex; throw (ParseException) t; ParseException err = new ParseException("User task failure", t); throw err;
return null; } catch (IOException ioe) { throw new ParseException ("JavacParser failure", ioe); //NOI18N reachedPhase = moveToPhase(requiredPhase, ciImpl, true); } catch (IOException ioe) { throw new ParseException ("JavacParser failure", ioe); //NOI18N } finally { if (cancelService != null) { parseId); } catch (IOException ioe) { throw new ParseException ("Javac Failure", ioe);
srcPath).findOwnerRoot(file); if (root == null) { throw new ParseException( String.format("The file %s is not owned by provided classpaths, boot: %s, compile: %s, src: %s", //NOI18N FileUtil.getFileDisplayName(file), this.ciImpl = new CompilationInfoImpl(info,file,root); } catch (final IOException ioe) { throw new ParseException ("ClassParser failure", ioe); //NOI18N