com.atlassian.confluence.license.exception.handler
Interface LicenseExceptionHandler<E extends Exception>

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

public interface LicenseExceptionHandler<E extends Exception>

Handler for the exceptions thrown by LicenseService.


Method Summary
 String handle(E exception)
           
 

Method Detail

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


Copyright © 2003–2015 Atlassian. All rights reserved.