@Provider public class RuntimeExceptionExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
Constructor and Description |
---|
RuntimeExceptionExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(RuntimeException exception) |
public javax.ws.rs.core.Response toResponse(RuntimeException exception)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<RuntimeException>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.