fr.paris.lutece.plugins.portalrest.util
Class XmlResponseUtil

java.lang.Object
  extended by fr.paris.lutece.plugins.portalrest.util.XmlResponseUtil

public class XmlResponseUtil
extends java.lang.Object

Xml Response Util


Constructor Summary
XmlResponseUtil()
           
 
Method Summary
static java.lang.String formatError(java.lang.String strMessage, int nCode)
          Format an error response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlResponseUtil

public XmlResponseUtil()
Method Detail

formatError

public static java.lang.String formatError(java.lang.String strMessage,
                                           int nCode)
Format an error response

Parameters:
strMessage - The message
nCode - The error code
Returns:
An XML response


Copyright © 2012 Mairie de Paris. All Rights Reserved.