com.xebialabs.deployit
Class DeployitExceptionMapper

java.lang.Object
  extended by com.xebialabs.deployit.ClosingExceptionMapper<com.xebialabs.deployit.exception.DeployitException>
      extended by com.xebialabs.deployit.DeployitExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.xebialabs.deployit.exception.DeployitException>

@Provider
@Component
public class DeployitExceptionMapper
extends ClosingExceptionMapper<com.xebialabs.deployit.exception.DeployitException>
implements javax.ws.rs.ext.ExceptionMapper<com.xebialabs.deployit.exception.DeployitException>


Constructor Summary
DeployitExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response handleException(com.xebialabs.deployit.exception.DeployitException exception)
           
 
Methods inherited from class com.xebialabs.deployit.ClosingExceptionMapper
toResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ws.rs.ext.ExceptionMapper
toResponse
 

Constructor Detail

DeployitExceptionMapper

public DeployitExceptionMapper()
Method Detail

handleException

public javax.ws.rs.core.Response handleException(com.xebialabs.deployit.exception.DeployitException exception)
Specified by:
handleException in class ClosingExceptionMapper<com.xebialabs.deployit.exception.DeployitException>