Package net.csdn.common.exception

Examples of net.csdn.common.exception.RecordNotFoundException


        Tuple<Class<ApplicationController>, Method> handlerKey = getHandler(request);
        if (handlerKey == null) {
            if (defaultHandlerKey != null) {
                handlerKey = defaultHandlerKey;
            } else {
                throw new RecordNotFoundException(format("你请求的URL地址[{}]不存在", request.rawPath().toString()));
            }

        }
        ApplicationController applicationController = ServiceFramwork.injector.getInstance(handlerKey.v1());
        enhanceApplicationController(applicationController, request, restResponse);
View Full Code Here

TOP

Related Classes of net.csdn.common.exception.RecordNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.