@Provider public class ExceptionHandler extends Object implements javax.ws.rs.ext.ExceptionMapper<Exception>
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
ExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
initResponse(javax.servlet.http.HttpServletResponse response) |
javax.ws.rs.core.Response |
toResponse(Exception e) |
public static final org.apache.commons.logging.Log LOG
public ExceptionHandler()
public javax.ws.rs.core.Response toResponse(Exception e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<Exception>
public void initResponse(javax.servlet.http.HttpServletResponse response)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.