ProviderNotFoundException

  • ProviderNotFoundException is a runtime exception signaling that a required provider could not be located.

  • It inherits from RuntimeException and offers two constructors: one with no arguments and another accepting a detail message.

  • Developers can use this exception to handle scenarios where a specific provider is essential but unavailable.

  • It provides methods inherited from Throwable for accessing stack trace, messages, and causal information related to the exception.

public class ProviderNotFoundException extends RuntimeException

Runtime exception thrown when a provider of the required type cannot be found.

Public Constructor Summary

ProviderNotFoundException()
Constructs an instance of this class.
ProviderNotFoundException(String msg)
Constructs an instance of this class.

Inherited Method Summary

Public Constructors

public ProviderNotFoundException ()

Constructs an instance of this class.

public ProviderNotFoundException (String msg)

Constructs an instance of this class.

Parameters
msg the detail message