|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.test.application.FooExceptionMapper
@Provider public class FooExceptionMapper
| Constructor Summary | |
|---|---|
FooExceptionMapper()
|
|
| Method Summary | |
|---|---|
Response |
toResponse(FooException exception)
Map an exception to a Response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FooExceptionMapper()
| Method Detail |
|---|
public Response toResponse(FooException exception)
ExceptionMapperResponse. Returning
null results in a Response.Status.NO_CONTENT
response. Throwing a runtime exception results in a
Response.Status.INTERNAL_SERVER_ERROR response
toResponse in interface ExceptionMapper<FooException>exception - the exception to map to a response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||