org.camunda.bpm.cycle.web.jaxrs.ext
Class TemplateExceptionMapper
java.lang.Object
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
|
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 |
TemplateExceptionMapper
public TemplateExceptionMapper()
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.