T - target exception to trap@Provider public class RuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RuntimeException>
FeatureWebService accesses.| Constructor and Description |
|---|
RuntimeExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response.Status |
getStatus(RuntimeException rex)
Get HTTP Error code related to ff4j error.
|
javax.ws.rs.core.Response |
toResponse(RuntimeException rex) |
public javax.ws.rs.core.Response toResponse(RuntimeException rex)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<RuntimeException>public javax.ws.rs.core.Response.Status getStatus(RuntimeException rex)
Copyright © 2013–2022 FF4J. All rights reserved.