/src/main/java/org/exoplatform/social/client/api/UnsupportedRestVersionException.java
Java | 43 lines | 9 code | 3 blank | 31 comment | 0 complexity | 51295c5b3b0aad081aed409dae12ac33 MD5 | raw file
Possible License(s): AGPL-3.0
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 */ 17package org.exoplatform.social.client.api; 18 19/** 20 * Exception for the case that the client wants to use the rest version is not supported. 21 * 22 * @author <a href="http://hoatle.net">hoatle (hoatlevan at gmail dot com)</a> 23 * @since 1.0.0-alpha2 24 * @since Oct 4, 2011 25 */ 26public class UnsupportedRestVersionException extends IllegalArgumentException { 27 28 /** 29 * Default constructor. 30 */ 31 public UnsupportedRestVersionException() { 32 super(); 33 } 34 35 /** 36 * Constructor with message. 37 * 38 * @param msg the message 39 */ 40 public UnsupportedRestVersionException(String msg) { 41 super(msg); 42 } 43}