APIdia Launch Partner
Top Description Fields Constructors
java.lang.module

public Class FindException

extends RuntimeException
Class Inheritance

Thrown by a ModuleFinder when an error occurs finding a module. Also thrown by Configuration.resolve when resolution fails for observability-related reasons.
Since
9

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
FindException()

Constructs a FindException with no detail message.

public
FindException(String
The detail message; can be null
msg
)

Constructs a FindException with the given detail message.

public
FindException(Throwable
The cause; can be null
cause
)

Constructs a FindException with the given cause.

public
FindException(String
The detail message; can be null
msg
,
Throwable
The cause; can be null
cause
)

Constructs a FindException with the given detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

FindExceptionback to summary
public FindException()

Constructs a FindException with no detail message.

FindExceptionback to summary
public FindException(String msg)

Constructs a FindException with the given detail message.

Parameters
msg:String

The detail message; can be null

FindExceptionback to summary
public FindException(Throwable cause)

Constructs a FindException with the given cause.

Parameters
cause:Throwable

The cause; can be null

FindExceptionback to summary
public FindException(String msg, Throwable cause)

Constructs a FindException with the given detail message and cause.

Parameters
msg:String

The detail message; can be null

cause:Throwable

The cause; can be null