Module java.base
Package java.security

Class NoSuchProviderException

  • All Implemented Interfaces:
    Serializable

    public class NoSuchProviderException
    extends GeneralSecurityException
    This exception is thrown when a particular security provider is requested but is not available in the environment.
    Since:
    1.1
    See Also:
    Serialized Form
    • Constructor Detail

      • NoSuchProviderException

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

        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.