开发者

global catch all java Exceptions in JRuby Sinatra app

Im implementing a rest api with sinatra and jruby. The appl开发者_Go百科ication domain is implemented in java. I have not figured out how to catch all exceptions thrown by the java layer in Sinatra. the global 'error do ... end' does not catch my java exception.

Any hints would be appreciated /floda

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜