2ronwalfpackage org.mindswap.owls.validator;
2ronwalf
2ronwalf/**
2ronwalf * <p>Title: </p>
2ronwalf * <p>Description: </p>
2ronwalf * <p>Copyright: Copyright (c) 2005</p>
2ronwalf * <p>Company: Mindswap (htp://www.mindswap.org)</p>
2ronwalf * @author Michael Grove
2ronwalf * @version 1.0
2ronwalf */
2ronwalf
2ronwalfpublic class OWLSValidatorMessage
2ronwalf{
2ronwalf private int mCode;
2ronwalf private String mMessage;
2ronwalf
2ronwalf public OWLSValidatorMessage(int theCode, String theMsg)
2ronwalf {
2ronwalf mCode = theCode;
2ronwalf mMessage = theMsg;
2ronwalf }
2ronwalf
2ronwalf public int getCode() {
2ronwalf return mCode;
2ronwalf }
2ronwalf
2ronwalf public String getMessage() {
2ronwalf return mMessage;
2ronwalf }
2ronwalf
2ronwalf public String toString() {
2ronwalf return getMessage();
2ronwalf }
2ronwalf
2ronwalf// public Service getService() {
2ronwalf// return mService;
2ronwalf// }
2ronwalf}