Search in sources :

Example 1 with UnmappedRuntimeException

use of org.glassfish.jersey.tests.integration.jersey2730.exception.UnmappedRuntimeException in project jersey by jersey.

the class TestExceptionResource method getUnmappedRuntimeException.

@GET
@Path("runtime")
public void getUnmappedRuntimeException(@Suspended final AsyncResponse asyncResponse) {
    lastProcessingThread = Thread.currentThread();
    asyncResponse.resume(new UnmappedRuntimeException());
}
Also used : UnmappedRuntimeException(org.glassfish.jersey.tests.integration.jersey2730.exception.UnmappedRuntimeException) Path(javax.ws.rs.Path) GET(javax.ws.rs.GET)

Aggregations

GET (javax.ws.rs.GET)1 Path (javax.ws.rs.Path)1 UnmappedRuntimeException (org.glassfish.jersey.tests.integration.jersey2730.exception.UnmappedRuntimeException)1