Package com.xebialabs.deployit
Class ClosingExceptionMapper<E extends Exception>
java.lang.Object
com.xebialabs.deployit.ClosingExceptionMapper<E>
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<E>
- Direct Known Subclasses:
DeployitExceptionMapper,UnhandledExceptionMapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.ResponsecheckWhetherWeHideInternals(int status, RuntimeException e, String content) protected abstract jakarta.ws.rs.core.ResponsehandleException(E exception) static voidregisterCleanup(Runnable action) final jakarta.ws.rs.core.ResponsetoResponse(E exception)
-
Field Details
-
X_EXCEPTION_TYPE
- See Also:
-
X_PATH
- See Also:
-
hideInternals
protected final boolean hideInternals -
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
ClosingExceptionMapper
protected ClosingExceptionMapper(boolean hideInternals)
-
-
Method Details
-
registerCleanup
-
toResponse
-
handleException
-
checkWhetherWeHideInternals
protected jakarta.ws.rs.core.Response checkWhetherWeHideInternals(int status, RuntimeException e, String content)
-