1 package org.sourceforge.jemmrpc.shared;
2
3 /**
4 * A class representing an error returned by the server.
5 *
6 * @author Rory Graves
7 *
8 */
9 public class ErrorMessage extends Message
10 {
11 /**
12 *
13 */
14 private static final long serialVersionUID = 1L;
15
16 /** The declared error message. */
17 public final String errorMsg;
18
19 /**
20 * Creates an ErrorMessage with the given message string.
21 *
22 * @param msg The given error message.
23 */
24 public ErrorMessage(String msg)
25 {
26 super(null);
27 this.errorMsg = msg;
28 }
29 }