fr.paris.lutece.util.json
Class ErrorJsonResponse

java.lang.Object
  extended by fr.paris.lutece.util.json.AbstractJsonResponse
      extended by fr.paris.lutece.util.json.ErrorJsonResponse
All Implemented Interfaces:
Serializable

public class ErrorJsonResponse
extends AbstractJsonResponse

ErrorJsonResponse

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.paris.lutece.util.json.AbstractJsonResponse
STATUS_ERROR, STATUS_OK
 
Constructor Summary
ErrorJsonResponse(String strErrorCode)
           
ErrorJsonResponse(String strErrorCode, String strMessage)
          ErrorJsonResponse constructor
 
Method Summary
 String getErrorCode()
           
 String getMessage()
           
 
Methods inherited from class fr.paris.lutece.util.json.AbstractJsonResponse
getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorJsonResponse

public ErrorJsonResponse(String strErrorCode)
Parameters:
strErrorCode - The response error code

ErrorJsonResponse

public ErrorJsonResponse(String strErrorCode,
                         String strMessage)
ErrorJsonResponse constructor

Parameters:
strErrorCode - The response error code
strMessage - The response error message
Method Detail

getErrorCode

public String getErrorCode()
Returns:
The response error code

getMessage

public String getMessage()
Returns:
The response error message


Copyright © 2014 Mairie de Paris. All rights reserved.