com.xebialabs.deployit
Class UnhandledExceptionMapper

java.lang.Object
  extended by com.xebialabs.deployit.ClosingExceptionMapper<java.lang.RuntimeException>
      extended by com.xebialabs.deployit.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>


Constructor Summary
UnhandledExceptionMapper()
           
 
Method Summary
protected  javax.ws.rs.core.Response handleException(java.lang.RuntimeException 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

UnhandledExceptionMapper

public UnhandledExceptionMapper()
Method Detail

handleException

protected javax.ws.rs.core.Response handleException(java.lang.RuntimeException exception)
Specified by:
handleException in class ClosingExceptionMapper<java.lang.RuntimeException>