/** * Return whether the given throwable is a checked exception: * that is, neither a RuntimeException nor an Error. * @param ex the throwable to check * @return whether the throwable is a checked exception * @see java.lang.Exception * @see java.lang
AOP的日志拦截类中,抛出异常: java.lang.IllegalStateException: It is illegal to call this method if the current request is not in asynchronous mode 主要原因:对方法的参数使用JSON.toJSONString(args[index])转换时,有异常抛出[如果参数类型是请求和响应的http,使用JSON.toJSONString()转换会抛异常] 解决方案:将不能进行序列化的入