根据resteasy (http://docs.jboss.org/resteasy/2.0.0.GA/javadocs/org/jboss/resteasy/spi/InternalServerErrorException.html),当遇到InternalServerErrorException ( 500 )时,InternalServerErrorException由RESTEasy抛出
根据我的理解,在app服务器本身由于负载太重而无法响应的情况下,用户将获得500个错误代码,因此在这种情况下,请求本身不会到达restEasy。请根据我的理解提出建议。
发布于 2013-11-27 15:57:10
Resteasy由于多种原因可以引发InternalServerErrorException。当服务器端没有更具体的异常时,会抛出它。
在Resteasy中使用它的例子:
https://stackoverflow.com/questions/20234628
复制相似问题