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

java.lang.Object
  extended by com.atlassian.confluence.license.exception.handler.AbstractLicenseExceptionHandler<InvalidLicenseException>
      extended by com.atlassian.confluence.license.exception.handler.InvalidLicenseExceptionHandler
All Implemented Interfaces:
LicenseExceptionHandler<InvalidLicenseException>

public class InvalidLicenseExceptionHandler
extends AbstractLicenseExceptionHandler<InvalidLicenseException>


Constructor Summary
InvalidLicenseExceptionHandler(I18NBean i18n)
           
 
Method Summary
 String handle(InvalidLicenseException 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
 

Constructor Detail

InvalidLicenseExceptionHandler

public InvalidLicenseExceptionHandler(I18NBean i18n)
Method Detail

handle

public String handle(InvalidLicenseException 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.