Package doan.springmvcexceptionhandling.demo.exception

Examples of doan.springmvcexceptionhandling.demo.exception.ExceptionVO


  @ExceptionHandler(IllegalArgumentException.class)
  @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
  @ResponseBody
  public ExceptionVO handleException5(IllegalArgumentException ex, HttpServletResponse response) throws IOException
  {
    ExceptionVO exceptionVO = new ExceptionVO("handleException5()", "HomeController", ex.getMessage());

    return exceptionVO;

  }
View Full Code Here

TOP

Related Classes of doan.springmvcexceptionhandling.demo.exception.ExceptionVO

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.