/src/main/java/org/exoplatform/social/client/api/UnsupportedRestVersionException.java

http://github.com/exosocial/exo.social.client · Java · 43 lines · 9 code · 3 blank · 31 comment · 0 complexity · 51295c5b3b0aad081aed409dae12ac33 MD5 · raw file

  1. /*
  2. * Copyright (C) 2003-2011 eXo Platform SAS.
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Affero General Public License as published by
  6. * the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU Affero General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Affero General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. package org.exoplatform.social.client.api;
  18. /**
  19. * Exception for the case that the client wants to use the rest version is not supported.
  20. *
  21. * @author <a href="http://hoatle.net">hoatle (hoatlevan at gmail dot com)</a>
  22. * @since 1.0.0-alpha2
  23. * @since Oct 4, 2011
  24. */
  25. public class UnsupportedRestVersionException extends IllegalArgumentException {
  26. /**
  27. * Default constructor.
  28. */
  29. public UnsupportedRestVersionException() {
  30. super();
  31. }
  32. /**
  33. * Constructor with message.
  34. *
  35. * @param msg the message
  36. */
  37. public UnsupportedRestVersionException(String msg) {
  38. super(msg);
  39. }
  40. }