de.smartics.exceptions.i18n
Interface I18nExceptionContext

Package class diagram package I18nExceptionContext
All Superinterfaces:
ExceptionContext
All Known Implementing Classes:
AbstractI18nExceptionContext, SystemDefaultI18nExceptionContext

public interface I18nExceptionContext
     
     
extends ExceptionContext

Defines access to the resources required by the exception infrastructure.


Method Summary
 de.smartics.messages.core.BundleProvider getBundleProvider()
          Returns the bundle provider that helps to access resource bundles.
 I18nCodeMessageFormatter getCodeMessageFormatter()
          Returns the formatter for code messages.
 MessageComposer getMessageComposer()
          Returns the implementation to use for the message composer.
 MessageTemplate getMessageTemplateId()
          Returns the identifier of a template to be used for rendering the exception information.
 
Methods inherited from interface de.smartics.exceptions.core.ExceptionContext
getIdFactory, getThrowableHandleMode
 

Method Detail

getBundleProvider

de.smartics.messages.core.BundleProvider getBundleProvider()
Returns the bundle provider that helps to access resource bundles.

Returns:
the bundle provider that helps to access resource bundles.

getMessageComposer

MessageComposer getMessageComposer()
Returns the implementation to use for the message composer.

Returns:
the implementation to use for the message composer.

getMessageTemplateId

MessageTemplate getMessageTemplateId()
Returns the identifier of a template to be used for rendering the exception information.

Returns:
the template identifier.

getCodeMessageFormatter

I18nCodeMessageFormatter getCodeMessageFormatter()
Returns the formatter for code messages. Override to control the representation of exception and message bean instances.

Specified by:
getCodeMessageFormatter in interface ExceptionContext
Returns:
the formatter for code messages.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.