org.camunda.bpm.cycle.web.jaxrs.ext
Class TemplateExceptionMapper

java.lang.Object
  extended by org.camunda.bpm.cycle.web.jaxrs.ext.TemplateExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.thymeleaf.exceptions.TemplateInputException>

@Provider
public class TemplateExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.thymeleaf.exceptions.TemplateInputException>

Maps thymeleaf generated exceptions to their respective http error codes

Author:
nico.rehwaldt

Constructor Summary
TemplateExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(org.thymeleaf.exceptions.TemplateInputException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateExceptionMapper

public TemplateExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(org.thymeleaf.exceptions.TemplateInputException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.thymeleaf.exceptions.TemplateInputException>


Copyright © 2014 camunda services GmbH. All rights reserved.