/* * CodaError.java * * Created on July 25, 2007, 12:40 AM * * CodaServer and related original technologies are copyright 2008, 18th Street Software, LLC. * * Permission to use them is granted under the terms of the GNU GPLv2. */ package org.codalang.codaserver; /** * @author michaelarace */ public class CodaError { private int errorCode; private String errorMessage; /** * Creates a new instance of CodaError */ public CodaError(int errorCode, String errorMessage) { this.errorCode = errorCode; this.errorMessage = errorMessage; } public int getErrorCode() { return errorCode; } public void setErrorCode(int errorCode) { this.errorCode = errorCode; } public String getErrorMessage() { return errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } }