diff --git a/src/fr/inrialpes/exmo/align/service/ErrorMsg.java b/src/fr/inrialpes/exmo/align/service/ErrorMsg.java index 455468e7caed670b61667b402902299311148561..6e689d60ab75c8d45f64be3d870df66a351df321 100644 --- a/src/fr/inrialpes/exmo/align/service/ErrorMsg.java +++ b/src/fr/inrialpes/exmo/align/service/ErrorMsg.java @@ -1,7 +1,7 @@ /* * $Id$ * - * Copyright (C) INRIA, 2006-2009 + * Copyright (C) INRIA, 2006-2010 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -37,6 +37,9 @@ public class ErrorMsg extends Message { public String RESTString(){ return "<error>" + content + "</error>"; } + public String HTMLRESTString(){ + return HTMLString(); + } public String SOAPString(){ String res = " <ErrorMsg>\n"; res += " <msgid>"+surrogate+"</msgid>\n"+" <sender>"+sender+"</sender>\n" + " <receiver>"+receiver+"</receiver>\n" ;