From ee2d4d911e2f8b614b51118ca611d4eba3e827eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr> Date: Sat, 20 Mar 2010 22:31:52 +0000 Subject: [PATCH] - Added HTMLRESTString (equal ti HTMLString) --- src/fr/inrialpes/exmo/align/service/ErrorMsg.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fr/inrialpes/exmo/align/service/ErrorMsg.java b/src/fr/inrialpes/exmo/align/service/ErrorMsg.java index 455468e7..6e689d60 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" ; -- GitLab