jdk/src/java.base/share/classes/java/lang/module/FindException.java
changeset 43712 5dfd0950317c
parent 36511 9d0388c6b336
equal deleted inserted replaced
43619:dc9102c475f3 43712:5dfd0950317c
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    24  */
    24  */
    25 
    25 
    26 package java.lang.module;
    26 package java.lang.module;
    27 
    27 
    28 /**
    28 /**
    29  * Thrown by module finders when finding a module fails.
    29  * Thrown by a {@link ModuleFinder ModuleFinder} when an error occurs finding
       
    30  * a module. Also thrown by {@link
       
    31  * Configuration#resolve(ModuleFinder,java.util.List,ModuleFinder,java.util.Collection)
       
    32  * Configuration.resolve} when resolution fails for observability-related
       
    33  * reasons.
    30  *
    34  *
    31  * @see ModuleFinder
       
    32  * @since 9
    35  * @since 9
       
    36  * @spec JPMS
    33  */
    37  */
    34 
    38 
    35 public class FindException extends RuntimeException {
    39 public class FindException extends RuntimeException {
    36     private static final long serialVersionUID = -5817081036963388391L;
    40     private static final long serialVersionUID = -5817081036963388391L;
    37 
    41