Interface LicenseExceptionHandler<E extends Exception>

All Known Implementing Classes:
AbstractLicenseExceptionHandler, CompositeLicenseExceptionHandler, EmptyLicenseValidationExceptionHandler, ForgedLicenseExceptionHandler, InvalidLicenseExceptionHandler, KnownConfluenceLicenseValidationExceptionHandler, MissingConfluenceLicenseValidationExceptionHandler

public interface LicenseExceptionHandler<E extends Exception>
Handler for the exceptions thrown by LicenseService.
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(E exception)
     
  • Method Details

    • handle

      String handle(E exception)
      Parameters:
      exception - the exception to translate
      Returns:
      a default localised message if the exception could not be mapped or a specialised localised message explaining the reason for the exception, return null to indicate that the exception was not handled