Class LicenseValidationException

All Implemented Interfaces:
Serializable

public final class LicenseValidationException extends SentinelException
Thrown by ValidationResult.requireValid() when the license validation result indicates failure.
See Also:
  • Constructor Details

    • LicenseValidationException

      public LicenseValidationException(ValidationResultType type, String message)
      Creates a new license validation exception.
      Parameters:
      type - the validation failure type
      message - the failure message from the API
  • Method Details

    • getType

      public ValidationResultType getType()
      Returns the validation failure type.
      Returns:
      the failure type