org.jboss.seam.rest.exceptions.integration
Class CatchValidationExceptionHandler
java.lang.Object
org.jboss.seam.rest.exceptions.integration.CatchValidationExceptionHandler
@HandlesExceptions
@ApplicationScoped
public class CatchValidationExceptionHandler
- extends Object
The default handler that obtains ValidationException
from Seam Catch and
converts it to an HTTP response.
- Author:
- Jozef Hartinger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatchValidationExceptionHandler
public CatchValidationExceptionHandler()
handleValidationException
public void handleValidationException(@Handles(precedence=-100,during=DEPTH_FIRST)
CaughtException<ValidationException> event,
@RestResource
javax.ws.rs.core.Response.ResponseBuilder builder)
Copyright © 2011 Seam Framework. All Rights Reserved.