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

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

public interface LicenseExceptionHandler<E extends java.lang.Exception>

Handler for the exceptions thrown by LicenseService.


Method Summary
 java.lang.String handle(E exception)
           
 

Method Detail

handle

java.lang.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-2014 Atlassian. All Rights Reserved.