Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ee2d4d91 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- Added HTMLRESTString (equal ti HTMLString)

parent 23205019
No related branches found
No related tags found
No related merge requests found
/*
* $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" ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment