Revision 4743
Added by walbridge almost 16 years ago
src/edu/ucsb/nceas/metacat/IndexingQueue.java | ||
---|---|---|
216 | 216 |
String revision = docid.substring(docid.lastIndexOf(".")+1,docid.length()); |
217 | 217 |
docid = docid.substring(0,docid.lastIndexOf(".")); |
218 | 218 |
|
219 |
logMetacat.info("Checking if document exsists in xml_documents: docid is "
|
|
219 |
logMetacat.info("Checking if document exists in xml_documents: docid is " |
|
220 | 220 |
+ docid + " and revision is " + revision); |
221 | 221 |
|
222 | 222 |
try { |
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
3070 | 3070 |
rs.close(); |
3071 | 3071 |
pstmt.close(); |
3072 | 3072 |
conn.increaseUsageCount(1); |
3073 |
throw new Exception("Docid " + accnum + " does not exsist. "
|
|
3074 |
+ "Please check that you have specified the" |
|
3075 |
+ " revision number of the document also.");
|
|
3073 |
throw new Exception("Docid " + accnum + " does not exist. " |
|
3074 |
+ "Please check that you have also specified the"
|
|
3075 |
+ " revision number of the document."); |
|
3076 | 3076 |
} |
3077 | 3077 |
rs.close(); |
3078 | 3078 |
pstmt.close(); |
Also available in: Unified diff
Fix typos in error messages.