Class UnhandledExceptionMapper
java.lang.Object
com.xebialabs.deployit.ClosingExceptionMapper<RuntimeException>
com.xebialabs.deployit.rest.mappers.UnhandledExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<RuntimeException>
@Provider
@Component
public class UnhandledExceptionMapper
extends ClosingExceptionMapper<RuntimeException>
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.ResponsehandleException(RuntimeException exception) Methods inherited from class com.xebialabs.deployit.ClosingExceptionMapper
checkWhetherWeHideInternals, registerCleanup, toResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ws.rs.ext.ExceptionMapper
toResponse
-
Constructor Details
-
UnhandledExceptionMapper
@Autowired public UnhandledExceptionMapper(com.xebialabs.deployit.ServerConfiguration config)
-
-
Method Details
-
handleException
- Specified by:
handleExceptionin classClosingExceptionMapper<RuntimeException>
-