@@ -0,0 +1,1106 @@
+/**%0A * %0A */%0Apackage ca.polymtl.inf4410.tp2.shared;%0A%0A/**%0A * @author robinroyer%0A *%0A */%0Apublic class OverloadedServer extends Exception %7B%0A%09%0A%09/**%0A%09 * Best practices for each class extenting or implenting Serializable interface.%0A%09 */%0A%09private static final long serialVersionUID = 592932191259440100L;%0A%09%0A%0A%09/**%0A%09 * Default constructor%0A%09 */%0A%09public OverloadedServer() %7B%0A%09%7D%0A%0A%09/**%0A%09 * Normal constructor%0A         * @param message The error message%0A        */%0A%09public OverloadedServer(String message) %7B%0A%09%09super(message);%09%0A%09%7D%09%0A%0A%09/**%0A%09 * @param cause%0A%09 */%0A%09public OverloadedServer(Throwable cause) %7B%0A%09%09super(cause);%0A%09%7D%0A%0A%09/**%0A%09 * @param message%0A%09 * @param cause%0A%09 */%0A%09public OverloadedServer(String message, Throwable cause) %7B%0A%09%09super(message, cause);%0A%09%7D%0A%0A%09/**%0A%09 * @param message%0A%09 * @param cause%0A%09 * @param enableSuppression%0A%09 * @param writableStackTrace%0A%09 */%0A%09public OverloadedServer(String message, Throwable cause,%0A%09%09%09boolean enableSuppression, boolean writableStackTrace) %7B%0A%09%09super(message, cause, enableSuppression, writableStackTrace);%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return this.getMessage();%0A%09%7D%0A%0A%7D%0A

implement an error class for overloaded server