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