package com.cardshifter.api.outgoing;

import com.cardshifter.api.messages.Message;

public class ServerErrorMessage extends Message {

	private String message;

    public ServerErrorMessage() {
		this("");
	}

	public ServerErrorMessage(String message) {
		super("error");
		this.message = message;
	}
	
	public String getMessage() {
		return message;
	}
	
	@Override
	public String toString() {
		return "ServerErrorMessage [message=" + message + "]";
	}

}

@@ -77,16 +77,56 @@
 essage;%0A
+/** Message reporting a server error. */
 %0Apublic 
@@ -199,12 +199,46 @@
 e;%0A%0A
-    
+%09/** Constructor. (no params) */%0A    %09
 publ
@@ -278,16 +278,81 @@
 %22%22);%0A%09%7D%0A
+%09/**%0A%09 * Constructor.%0A%09 * @param message  This error message%0A%09 */
 %0A%09public
@@ -437,16 +437,50 @@
 ge;%0A%09%7D%0A%09
+/** @return  This error message */
 %0A%09public
@@ -524,16 +524,67 @@
 ge;%0A%09%7D%0A%09
+/** @return  This message as converted to String */
 %0A%09@Overr

Update ServerErrorMessage.java