• 请不要在回答技术问题时复制粘贴 AI 生成的内容
hujianxin
V2EX  ›  程序员

grizzly 如何统一处理某种 Exception

  •  
  •   hujianxin · Oct 21, 2019 · 899 views
    This topic created in 2398 days ago, the information mentioned may be changed or developed.

    例如,如果 throw 了 CharConversionException,grizzly 对这种错误返回的是 500 错误,但是我想让这种问题返回 400 错误。

    请问哪位大佬了解 grizzly server,知道这种问题的解决思路?谢谢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2908 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:02 · PVG 20:02 · LAX 05:02 · JFK 08:02
    ♥ Do have faith in what you're doing.