Class KnownConfluenceLicenseValidationExceptionHandler
- java.lang.Object
-
- com.atlassian.confluence.license.exception.handler.AbstractLicenseExceptionHandler<KnownConfluenceLicenseValidationException>
-
- com.atlassian.confluence.license.exception.handler.KnownConfluenceLicenseValidationExceptionHandler
-
- All Implemented Interfaces:
LicenseExceptionHandler<KnownConfluenceLicenseValidationException>
public class KnownConfluenceLicenseValidationExceptionHandler extends AbstractLicenseExceptionHandler<KnownConfluenceLicenseValidationException>
Common Confluence license validation failures.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description KnownConfluenceLicenseValidationExceptionHandler(I18NBean i18n, DocumentationBean docBean, ConfluenceSidManager sidManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
handle(KnownConfluenceLicenseValidationException exception)
-
Methods inherited from class com.atlassian.confluence.license.exception.handler.AbstractLicenseExceptionHandler
lookupMessage
-
-
-
-
Constructor Detail
-
KnownConfluenceLicenseValidationExceptionHandler
public KnownConfluenceLicenseValidationExceptionHandler(I18NBean i18n, DocumentationBean docBean, ConfluenceSidManager sidManager)
-
-
Method Detail
-
handle
public String handle(KnownConfluenceLicenseValidationException 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
-
-