Class UnhandledExceptionMapperProvider

java.lang.Object
com.xebialabs.deployit.ClosingExceptionMapper<RuntimeException>
com.xebialabs.deployit.rest.mappers.UnhandledExceptionMapper
com.xebialabs.deployit.plumbing.UnhandledExceptionMapperProvider
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<RuntimeException>

@Provider @Component public class UnhandledExceptionMapperProvider extends com.xebialabs.deployit.rest.mappers.UnhandledExceptionMapper implements jakarta.ws.rs.ext.ExceptionMapper<RuntimeException>
  • Field Summary

    Fields inherited from class com.xebialabs.deployit.ClosingExceptionMapper

    hideInternals, X_EXCEPTION_TYPE, X_PATH
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnhandledExceptionMapperProvider(com.xebialabs.deployit.ServerConfiguration config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected jakarta.ws.rs.core.Response
     

    Methods inherited from class com.xebialabs.deployit.ClosingExceptionMapper

    checkWhetherWeHideInternals, registerCleanup, toResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.ws.rs.ext.ExceptionMapper

    toResponse
  • Constructor Details

    • UnhandledExceptionMapperProvider

      @Autowired public UnhandledExceptionMapperProvider(com.xebialabs.deployit.ServerConfiguration config)
  • Method Details

    • handleException

      protected jakarta.ws.rs.core.Response handleException(RuntimeException runtimeException)
      Overrides:
      handleException in class com.xebialabs.deployit.rest.mappers.UnhandledExceptionMapper