package at.gv.egovernment.moa.spss.api.impl; import at.gv.egovernment.moa.spss.api.xmlsign.ErrorResponse; /** * Default implementation of ErrorResponse. * * @author Fatemeh Philippi * @version $Id$ */ public class ErrorResponseImpl implements ErrorResponse { /** The error code. */ private int code; /** Verbose error message. */ private String info; /** * Sets the error code. * * @param code The error code. */ public void setErrorCode(int code) { this.code = code; } public int getErrorCode() { return code; } /** * Sets the verbose error information. * * @param info The verbose error information. */ public void setInfo(String info) { this.info = info; } public String getInfo() { return info; } /** * Gets the response type. * * @return ERROR_RESPONSE */ public int getResponseType() { return ERROR_RESPONSE; } }