Class NoSuchAlgorithmException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchAlgorithmException
    extends CryptoException
    This exception is thrown when a particular cryptographic algorithm is requested but is not available in the environment.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchAlgorithmException()
      Constructs a NoSuchAlgorithmException with no detail message.
      NoSuchAlgorithmException​(java.lang.String msg)
      Constructs a NoSuchAlgorithmException with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoSuchAlgorithmException

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

        public NoSuchAlgorithmException​(java.lang.String msg)
        Constructs a NoSuchAlgorithmException with the specified detail message. A detail message is a string that describes this particular exception, which may, for example, specifies which algorithm is not available.
        Parameters:
        msg - The exception message.