@Provider public class RuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
Constructor and Description |
---|
RuntimeExceptionMapper(javax.ws.rs.core.UriInfo ui) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(RuntimeException e) |
public RuntimeExceptionMapper(@Context javax.ws.rs.core.UriInfo ui)
public javax.ws.rs.core.Response toResponse(RuntimeException e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<RuntimeException>
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.