ExemptionMechanismException

  • ExemptionMechanismException is a subclass of GeneralSecurityException and signals an issue with an exemption mechanism.

  • It provides two constructors: one with no detailed message and another that accepts a custom error message.

  • This exception inherits methods from Throwable for handling and inspecting exceptions.

  • Developers can use the provided constructors to create and throw ExemptionMechanismException when encountering issues with exemption mechanisms.

public class ExemptionMechanismException extends GeneralSecurityException

This is the generic ExemptionMechanism exception.

Public Constructor Summary

ExemptionMechanismException()
Constructs a ExemptionMechanismException with no detailed message.
ExemptionMechanismException(String msg)
Constructs a ExemptionMechanismException with the specified detailed message.

Inherited Method Summary

Public Constructors

public ExemptionMechanismException ()

Constructs a ExemptionMechanismException with no detailed message. (A detailed message is a String that describes this particular exception.)

public ExemptionMechanismException (String msg)

Constructs a ExemptionMechanismException with the specified detailed message. (A detailed message is a String that describes this particular exception.)

Parameters
msg the detailed message.