Class FindException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.module.FindException
- All Implemented Interfaces:
Serializable
Thrown by a
ModuleFinder when an error occurs findinga module. Also thrown byConfiguration.resolve when resolution fails for observability-relatedreasons.- Since:
- 9
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionConstructs aFindExceptionwith no detail message.FindException(String msg) Constructs aFindExceptionwith the given detailmessage.FindException(String msg,Throwable cause) Constructs aFindExceptionwith the given detail messageand cause.FindException(Throwable cause) Constructs aFindExceptionwith the given cause.Method Summary
Constructor Details
FindException
public FindException()Constructs aFindExceptionwith no detail message.FindException
Constructs aFindExceptionwith the given detailmessage.- Parameters:
msg- The detail message; can benull
FindException
Constructs aFindExceptionwith the given cause.- Parameters:
cause- The cause; can benull
FindException