de.smartics.exceptions.core
Interface ExceptionContext

Package class diagram package ExceptionContext
All Known Subinterfaces:
I18nExceptionContext
All Known Implementing Classes:
AbstractExceptionContext, AbstractI18nExceptionContext, ConfiguredExceptionContext, PropertiesConfiguredExceptionContext, SystemDefaultExceptionContext, SystemDefaultI18nExceptionContext

public interface ExceptionContext

Defines access to the resources required by the exception infrastructure.


Method Summary
 CodeMessageFormatter getCodeMessageFormatter()
          Returns the formatter for code messages.
 IdFactory getIdFactory()
          Returns the factory for generating identifiers.
 ThrowableHandleMode getThrowableHandleMode()
          Returns the configuration to control the handling of throwables.
 

Method Detail

getThrowableHandleMode

ThrowableHandleMode getThrowableHandleMode()
Returns the configuration to control the handling of throwables.

Returns:
the configured mode.

getIdFactory

IdFactory getIdFactory()
Returns the factory for generating identifiers.

Returns:
the factory for generating identifiers.

getCodeMessageFormatter

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

Returns:
the formatter for code messages.


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