src/share/classes/org/openjdk/jigsaw/Library.java
Print this page
@@ -233,10 +233,13 @@
* @throws IOException
* If an I/O error occurs while accessing the module library
*
* @throws SignatureException
* If an error occurs while validating the signature
+ *
+ * @throws ModuleFileParserException
+ * If there is an error processing one the underlying module files
*/
public abstract void install(Collection<File> mfs, boolean verifySignature)
throws ConfigurationException, IOException, SignatureException;
/**
@@ -261,11 +264,11 @@
* <p> Install any modules required by the given {@linkplain Resolution
* resolution}, and configure all of its root modules. </p>
*
* @param res
* A {@link Resolution} previously computed by the
- * {@link Library#install install()} method
+ * {@link Library#resolve resolve} method
*
* @param verifySignature
* Perform signature verification, if true
*
* @throws ConfigurationException
@@ -274,10 +277,14 @@
* @throws IOException
* If an I/O error occurs while accessing the module library
*
* @throws SignatureException
* If an error occurs while validating the signature
+ *
+ * @throws ModuleFileParserException
+ * If there is an error processing the underlying module file
+ * required by the given resolution
*/
public abstract void install(Resolution res, boolean verifySignature)
throws ConfigurationException, IOException, SignatureException;
/**