Interface ExceptionMapper

All Known Implementing Classes:
ExceptionMapper.DefaultExceptionMapper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ExceptionMapper
  • Field Details

  • Method Details

    • mappingException

      static <T> T mappingException(Callable<T> action)
    • withExceptionMapper

      default <T> T withExceptionMapper(Callable<T> action)
    • mapException

      RuntimeException mapException(Exception e)