/**
 * 
 */
package ca.polymtl.inf4410.tp2.shared;

/**
 * @author robinroyer
 *
 */
public class OverloadedServer extends Exception {
	
	/**
	 * Best practices for each class extenting or implenting Serializable interface.
	 */
	private static final long serialVersionUID = 592932191259440100L;
	

	/**
	 * Default constructor
	 */
	public OverloadedServer() {
	}

	/**
	 * Normal constructor
         * @param message The error message
        */
	public OverloadedServer(String message) {
		super(message);	
	}	

	/**
	 * @param cause
	 */
	public OverloadedServer(Throwable cause) {
		super(cause);
	}

	/**
	 * @param message
	 * @param cause
	 */
	public OverloadedServer(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * @param message
	 * @param cause
	 * @param enableSuppression
	 * @param writableStackTrace
	 */
	public OverloadedServer(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	@Override
	public String toString() {
		return this.getMessage();
	}

}

implement an error class for overloaded server