PageRenderTime 40ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/java/com/alibaba/fastjson/JSONException.java

https://bitbucket.org/xiejuntao/xdesktop
Java | 36 lines | 13 code | 5 blank | 18 comment | 0 complexity | cc3f7251f938bd93b0ce633aa2a7d7e5 MD5 | raw file
  1. /*
  2. * Copyright 1999-2101 Alibaba Group.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.alibaba.fastjson;
  17. /**
  18. * @author wenshao<szujobs@hotmail.com>
  19. */
  20. public class JSONException extends RuntimeException {
  21. private static final long serialVersionUID = 1L;
  22. public JSONException(){
  23. super();
  24. }
  25. public JSONException(String message){
  26. super(message);
  27. }
  28. public JSONException(String message, Throwable cause){
  29. super(message, cause);
  30. }
  31. }