ApiException.java 268 B

123456789101112131415
  1. package com.sooka.common.exception;
  2. /**
  3. * Description:自定义Exception,主要是为了返回JSON信息
  4. *
  5. *
  6. * @create 2017-04-09
  7. **/
  8. public class ApiException extends RuntimeException{
  9. public ApiException(String message) {
  10. super(message);
  11. }
  12. }