Product Documentation : Ehcache Developer Guide : Cache Exception Handlers : Declarative Configuration
Declarative Configuration
To configure an exception handler declaratively, add the cacheExceptionHandlerFactory element to ehcache.xml as shown in the following example:
<cache ...>
<cacheExceptionHandlerFactory
class="net.sf.ehcache.exceptionhandler.CountingExceptionHandlerFactory"
properties="logLevel=FINE"/>
</cache>
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback