//package com.yizhi.application.course.controller;
//
//import org.springframework.web.bind.annotation.ControllerAdvice;
//import org.springframework.web.bind.annotation.ExceptionHandler;
//import org.springframework.web.bind.annotation.RestControllerAdvice;
//
//import com.yizhi.application.util.domain.Response;
//
//@RestControllerAdvice
//public class MyGlobalExceptionHandler {
//
//	@ExceptionHandler(Exception.class)
//	public Response<String> customException(Exception e) {
//		e.printStackTrace();
//		return Response.fail();
//	}
//}
