NoSuchProviderException

  • NoSuchProviderException signals that a requested security provider isn't available in the environment.

  • It's a subclass of GeneralSecurityException and offers constructors with and without detail messages.

  • The exception includes methods for retrieving the detail message and stack trace, inherited from Throwable.

  • It inherits standard methods like toString(), hashCode(), and equals() from the Object class.

public class NoSuchProviderException extends GeneralSecurityException

This exception is thrown when a particular security provider is requested but is not available in the environment.

Public Constructor Summary

NoSuchProviderException()
Constructs a NoSuchProviderException with no detail message.
NoSuchProviderException(String msg)
Constructs a NoSuchProviderException with the specified detail message.

Inherited Method Summary

Public Constructors

public NoSuchProviderException ()

Constructs a NoSuchProviderException with no detail message. A detail message is a String that describes this particular exception.

public NoSuchProviderException (String msg)

Constructs a NoSuchProviderException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
msg the detail message.