|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.context.AbstractExceptionContext de.smartics.exceptions.i18n.context.AbstractI18nExceptionContext
public abstract class AbstractI18nExceptionContext
Provides exception relevant information for an exception context. There is one context for each class loader that is stored by the I18nExceptionContextManager
.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.context.AbstractExceptionContext |
---|
formatter, idFactory, throwableHandleMode |
Constructor Summary | |
---|---|
protected |
AbstractI18nExceptionContext(org.apache.commons.configuration.Configuration configuration) Constructor. |
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 class de.smartics.exceptions.context.AbstractExceptionContext |
---|
getIdFactory, getThrowableHandleMode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.exceptions.core.ExceptionContext |
---|
getIdFactory, getThrowableHandleMode |
Constructor Detail |
---|
protected AbstractI18nExceptionContext(org.apache.commons.configuration.Configuration configuration) throws IllegalArgumentException
configuration
- the parameters to configure this context.
AbstractExceptionContext.AbstractExceptionContext(org.apache.commons.configuration.Configuration)
IllegalArgumentException
- if any configuration parameter value is illegal.
Method Detail |
---|
public de.smartics.messages.core.BundleProvider getBundleProvider()
I18nExceptionContext
getBundleProvider
in interface
I18nExceptionContext
public MessageComposer getMessageComposer()
I18nExceptionContext
getMessageComposer
in interface
I18nExceptionContext
public I18nCodeMessageFormatter getCodeMessageFormatter()
ExceptionContext
getCodeMessageFormatter
in interface
ExceptionContext
getCodeMessageFormatter
in interface
I18nExceptionContext
getCodeMessageFormatter
in class
AbstractExceptionContext
public MessageTemplate getMessageTemplateId()
I18nExceptionContext
getMessageTemplateId
in interface
I18nExceptionContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |