Class DeployitExceptionMapper
java.lang.Object
com.xebialabs.deployit.ClosingExceptionMapper<com.xebialabs.deployit.engine.spi.exception.DeployitException>
com.xebialabs.deployit.rest.mappers.DeployitExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<com.xebialabs.deployit.engine.spi.exception.DeployitException>
@Provider
@Component
public class DeployitExceptionMapper
extends ClosingExceptionMapper<com.xebialabs.deployit.engine.spi.exception.DeployitException>
implements jakarta.ws.rs.ext.ExceptionMapper<com.xebialabs.deployit.engine.spi.exception.DeployitException>
-
Field Summary
Fields inherited from class com.xebialabs.deployit.ClosingExceptionMapper
hideInternals, logger, X_EXCEPTION_TYPE, X_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeployitExceptionMapper(com.thoughtworks.xstream.XStream xStream, com.xebialabs.deployit.ServerConfiguration config) DeployitExceptionMapper(com.xebialabs.deployit.ServerConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<jakarta.ws.rs.core.MediaType>static voiddoCDataWrapping(boolean wrap) jakarta.ws.rs.core.ResponsehandleException(com.xebialabs.deployit.engine.spi.exception.DeployitException 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
-
DeployitExceptionMapper
@Autowired public DeployitExceptionMapper(com.xebialabs.deployit.ServerConfiguration config) -
DeployitExceptionMapper
public DeployitExceptionMapper(com.thoughtworks.xstream.XStream xStream, com.xebialabs.deployit.ServerConfiguration config)
-
-
Method Details
-
doCDataWrapping
public static void doCDataWrapping(boolean wrap) -
handleException
public jakarta.ws.rs.core.Response handleException(com.xebialabs.deployit.engine.spi.exception.DeployitException exception) - Specified by:
handleExceptionin classClosingExceptionMapper<com.xebialabs.deployit.engine.spi.exception.DeployitException>
-
determineAcceptMediaType
-