Serializablepublic class FindException extends RuntimeException
ModuleFinder when an error occurs finding a module. Also thrown by Configuration.resolve when resolution fails for observability-related reasons.| Constructor | Description | 
|---|---|
| FindException() | Constructs a  FindExceptionwith no detail message. | 
| FindException | Constructs a  FindExceptionwith the given detail message. | 
| FindException | Constructs a  FindExceptionwith the given detail message and cause. | 
| FindException | Constructs a  FindExceptionwith the given cause. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FindException()
FindException with no detail message.public FindException(String msg)
FindException with the given detail message.msg - The detail message; can be null
public FindException(Throwable cause)
FindException with the given cause.cause - The cause; can be null
public FindException(String msg, Throwable cause)
FindException with the given detail message and cause.msg - The detail message; can be null
cause - The cause; can be null
    © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
    https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/module/FindException.html