Abstract:The exception handling mechanism is one of the key parts in any web application design. Spring MVC framework provides an exception handling interface and several exception resolvers. Through analyzing of the Spring Framework's source code, it describes the way which these exception resolvers work in, deduces their time complexity and lists their applicable scenarios. According to the application requirement of exception handling in framework of eCampus System in SYSU, it divides exception into two categories: business exception and system exception and designs and implements an exception handling including exception handling applying for AJAX and global exception handling of ExceptionHandler.