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 © 2014 Software AG, Darmstadt, Germany.

Product Logo |   Feedback