com.atlassian.confluence.license.exception.handler
Class KnownConfluenceLicenseValidationExceptionHandler

java.lang.Object
  extended by com.atlassian.confluence.license.exception.handler.AbstractLicenseExceptionHandler<KnownConfluenceLicenseValidationException>
      extended by 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
static org.slf4j.Logger log
           
 
Constructor Summary
KnownConfluenceLicenseValidationExceptionHandler(I18NBean i18n, DocumentationBean docBean, ConfluenceSidManager sidManager)
           
 
Method Summary
 java.lang.String handle(KnownConfluenceLicenseValidationException exception)
           
 
Methods inherited from class com.atlassian.confluence.license.exception.handler.AbstractLicenseExceptionHandler
lookupMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.slf4j.Logger log
Constructor Detail

KnownConfluenceLicenseValidationExceptionHandler

public KnownConfluenceLicenseValidationExceptionHandler(I18NBean i18n,
                                                        DocumentationBean docBean,
                                                        ConfluenceSidManager sidManager)
Method Detail

handle

public java.lang.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


Copyright © 2003-2014 Atlassian. All Rights Reserved.