Class UnhandledExceptionMapper
- java.lang.Object
-
- com.xebialabs.deployit.core.rest.mappers.ClosingExceptionMapper<java.lang.RuntimeException>
-
- com.xebialabs.deployit.core.rest.mappers.UnhandledExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<java.lang.RuntimeException>
@Provider @Component public class UnhandledExceptionMapper extends ClosingExceptionMapper<java.lang.RuntimeException> implements javax.ws.rs.ext.ExceptionMapper<java.lang.RuntimeException>
-
-
Field Summary
-
Fields inherited from class com.xebialabs.deployit.core.rest.mappers.ClosingExceptionMapper
hideInternals, X_EXCEPTION_TYPE, X_PATH
-
-
Constructor Summary
Constructors Constructor Description UnhandledExceptionMapper(ai.digital.configuration.central.deploy.ClientProperties config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.ResponsehandleException(java.lang.RuntimeException exception)-
Methods inherited from class com.xebialabs.deployit.core.rest.mappers.ClosingExceptionMapper
checkWhetherWeHideInternals, registerCleanup, toResponse
-
-
-
-
Method Detail
-
handleException
protected javax.ws.rs.core.Response handleException(java.lang.RuntimeException exception)
- Specified by:
handleExceptionin classClosingExceptionMapper<java.lang.RuntimeException>
-
-