applied LGPLv3 and source code formatting.
[vamsas.git] / src / uk / ac / vamsas / client / InvalidSessionDocumentException.java
index e988d58..de0c56c 100644 (file)
@@ -1,45 +1,63 @@
-/**\r
+/*\r
+ * This file is part of the Vamsas Client version 0.1. \r
+ * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite, \r
+ *  Andrew Waterhouse and Dominik Lindner.\r
+ * \r
+ * Earlier versions have also been incorporated into Jalview version 2.4 \r
+ * since 2008, and TOPALi version 2 since 2007.\r
  * \r
+ * The Vamsas Client is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU Lesser General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *  \r
+ * The Vamsas Client is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU Lesser General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU Lesser General Public License\r
+ * along with the Vamsas Client.  If not, see <http://www.gnu.org/licenses/>.\r
  */\r
 package uk.ac.vamsas.client;\r
 \r
 /**\r
  * @author JimP\r
- *\r
+ * \r
  */\r
-public class InvalidSessionDocumentException extends Exception\r
-{\r
+public class InvalidSessionDocumentException extends Exception {\r
   /**\r
    * basic error for this exception\r
    */\r
   public static final String INVALID_DOC = "Invalid Shared Document.";\r
+\r
   /**\r
    * \r
    */\r
- public InvalidSessionDocumentException() {\r
-   super(INVALID_DOC);\r
+  public InvalidSessionDocumentException() {\r
+    super(INVALID_DOC);\r
   }\r
 \r
- /**\r
-  * @param message\r
-  */\r
- public InvalidSessionDocumentException(String message) {\r
-   super(INVALID_DOC+":"+message);\r
- }\r
+  /**\r
+   * @param message\r
+   */\r
+  public InvalidSessionDocumentException(String message) {\r
+    super(INVALID_DOC + ":" + message);\r
+  }\r
 \r
- /**\r
-  * @param cause\r
-  */\r
- public InvalidSessionDocumentException(Throwable cause) {\r
-   super(INVALID_DOC, cause);\r
- }\r
+  /**\r
+   * @param cause\r
+   */\r
+  public InvalidSessionDocumentException(Throwable cause) {\r
+    super(INVALID_DOC, cause);\r
+  }\r
 \r
- /**\r
-  * @param message\r
-  * @param cause\r
-  */\r
- public InvalidSessionDocumentException(String message, Throwable cause) {\r
-   super(INVALID_DOC+":"+message, cause);\r
- }\r
+  /**\r
+   * @param message\r
+   * @param cause\r
+   */\r
+  public InvalidSessionDocumentException(String message, Throwable cause) {\r
+    super(INVALID_DOC + ":" + message, cause);\r
+  }\r
 \r
 }\r