All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.ehcache.exceptionhandler.package.html Maven / Gradle / Ivy

Go to download

This is the ehcache core module. Pair it with other modules for added functionality.

There is a newer version: 2.6.11
Show newest version

  
  
  
  This package is for exception handling.
  

Normally, an exception will be thrown. However an exception handler may be registered at configuration time in ehcache.xml, or set at runtime (a strategy), to handle an exception.

If an exception handler is registered, the default behaviour of throwing the exception will not occur. The handler method onException will be called. Of course, if the handler decides to throw the exception, it will propagate up through the call stack. If the handler does not, it won't.

This package defines an ExceptionHandler interface, and also a CacheExceptionHandlerFactory, which is used for configuration.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy