Class ChenileExceptionHandler

java.lang.Object
org.chenile.core.interceptors.BaseChenileInterceptor
org.chenile.core.interceptors.ChenileExceptionHandler
All Implemented Interfaces:
Command<ChenileExchange>

public class ChenileExceptionHandler extends BaseChenileInterceptor
Handles all exceptions by: Translating all errors and warnings to international language. (service is assumed to throw just error code and not error message) This can be extended to provide custom functionality. But be sure that the extended exception handler is instantiated in a spring configuration and the name of the spring configuration must be set in chenile.exception.handler in "chenile.properties"
Author:
Raja Shankar Kolluru
  • Field Details

  • Constructor Details

    • ChenileExceptionHandler

      public ChenileExceptionHandler()
  • Method Details