Description: Spelling fixes
Author: Sergey B Kirpichev <skirpichev@gmail.com>

---
 src/classes/file.C       |    2 +-
 src/classes/hash.C       |    4 ++--
 src/classes/reflection.C |    2 +-
 src/classes/string.C     |    2 +-
 src/classes/table.C      |    8 ++++----
 src/main/pa_charset.C    |    2 +-
 src/main/pa_common.C     |    2 +-
 src/main/pa_http.C       |    2 +-
 src/types/pa_vimage.h    |    2 +-
 src/types/pa_vmail.C     |    6 +++---
 src/types/pa_vxdoc.h     |    4 ++--
 11 files changed, 18 insertions(+), 18 deletions(-)

--- a/src/classes/file.C
+++ b/src/classes/file.C
@@ -984,7 +984,7 @@ public:
 			}
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in File_sql_event_handlers::add_row_cell");
+			error=SQL_Error("exception occurred in File_sql_event_handlers::add_row_cell");
 			return true;
 		}
 	}
--- a/src/classes/hash.C
+++ b/src/classes/hash.C
@@ -74,7 +74,7 @@ public:
 			columns+=new String(str, String::L_TAINTED /* no length as 0x00 can be inside */);
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in Hash_sql_event_handlers::add_column");
+			error=SQL_Error("exception occurred in Hash_sql_event_handlers::add_column");
 			return true;
 		}
 	}
@@ -180,7 +180,7 @@ public:
 			column_index++;
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in Hash_sql_event_handlers::add_row_cell");
+			error=SQL_Error("exception occurred in Hash_sql_event_handlers::add_row_cell");
 			return true;
 		}
 	}
--- a/src/classes/reflection.C
+++ b/src/classes/reflection.C
@@ -66,7 +66,7 @@ static void _create(Request& r, MethodPa
 			valid_options++;
 			params_hash=vparams_hash->as_hash("arguments");
 			if(params.count()>1)
-				throw Exception(PARSER_RUNTIME, 0, "agruments should not be specified as hash and as create params");
+				throw Exception(PARSER_RUNTIME, 0, "arguments should not be specified as hash and as create params");
 		}
 		if(valid_options!=options->count())
 			throw Exception(PARSER_RUNTIME, 0, CALLED_WITH_INVALID_OPTION);
--- a/src/classes/table.C
+++ b/src/classes/table.C
@@ -1299,7 +1299,7 @@ public:
 			columns+=new String(str, String::L_TAINTED /* no length as 0x00 can be inside */);
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in Table_sql_event_handlers::add_column");
+			error=SQL_Error("exception occurred in Table_sql_event_handlers::add_column");
 			return true;
 		}
 	}
@@ -1309,7 +1309,7 @@ public:
 			columns_count=columns.count();
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in Table_sql_event_handlers::before_rows");
+			error=SQL_Error("exception occurred in Table_sql_event_handlers::before_rows");
 			return true;
 		}
 	}
@@ -1318,7 +1318,7 @@ public:
 			*table+=row=new ArrayString(columns_count);
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in Table_sql_event_handlers::add_row");
+			error=SQL_Error("exception occurred in Table_sql_event_handlers::add_row");
 			return true;
 		}
 	}
@@ -1327,7 +1327,7 @@ public:
 			*row+=str?new String(str, String::L_TAINTED /* no length as 0x00 can be inside */):&String::Empty;
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in Table_sql_event_handlers::add_row_cell");
+			error=SQL_Error("exception occurred in Table_sql_event_handlers::add_row_cell");
 			return true;
 		}
 	}
--- a/src/main/pa_charset.C
+++ b/src/main/pa_charset.C
@@ -1218,7 +1218,7 @@ size_t getUTF8CharPos(const XMLByte* src
 	}
 
 	// scan till end but position in bytes still too low
-	throw Exception(0, 0, "Error convertion byte pos to char pos");
+	throw Exception(0, 0, "Error conversion byte pos to char pos");
 }
 
 size_t lengthUTF8(const XMLByte* srcBegin, const XMLByte* srcEnd){
--- a/src/main/pa_common.C
+++ b/src/main/pa_common.C
@@ -743,7 +743,7 @@ const char* format(double value, const c
 		size=snprintf(local_buf, sizeof(local_buf), "%d", (int)value);
 
 	if(size < 0 || size >= MAX_NUMBER-1){ // on win32 we manually reduce max size while printing
-		throw Exception(PARSER_RUNTIME, 0, "Error occure white executing snprintf with format string '%s'.", fmt);
+		throw Exception(PARSER_RUNTIME, 0, "Error occur white executing snprintf with format string '%s'.", fmt);
 	}
 
 	return pa_strdup(local_buf, (size_t)size);
--- a/src/main/pa_http.C
+++ b/src/main/pa_http.C
@@ -280,7 +280,7 @@ static int http_request(HTTP_response& r
 		// rewritten simplier [athough duplicating closesocket code]
 		if(sock>=0) 
 			closesocket(sock); 
-		throw Exception("http.timeout", 0, "timeout occured while retrieving document"); 
+		throw Exception("http.timeout", 0, "timeout occurred while retrieving document"); 
 		return 0; // never
 	} else {
 		alarm(timeout_secs); 
--- a/src/types/pa_vimage.h
+++ b/src/types/pa_vimage.h
@@ -96,7 +96,7 @@ public:
 		if(!fimage)
 			throw Exception(PARSER_RUNTIME,
 				0,
-				"using unitialized image object");
+				"using uninitialized image object");
 
 		return *fimage;
 	}
--- a/src/types/pa_vmail.C
+++ b/src/types/pa_vmail.C
@@ -282,10 +282,10 @@ static void parse(Request& r, GMimeMessa
 		g_mime_message_foreach(message, MimePart2body, &info);
 
 	} catch(const Exception& e) {
-		putReceived(received, VALUE_NAME, "<exception occured while parsing message>");
+		putReceived(received, VALUE_NAME, "<exception occurred while parsing message>");
 		putReceived(received, EXCEPTION_VALUE, e.comment());
 	} catch(...) {
-		putReceived(received, VALUE_NAME, "<exception occured while parsing message>");
+		putReceived(received, VALUE_NAME, "<exception occurred while parsing message>");
 	}
 }
 
@@ -304,7 +304,7 @@ void VMail::fill_received(Request& r) {
 			g_object_unref(GMIME_OBJECT(message));
 		} catch(const Exception& e) {
 			HashStringValue& received=vreceived.hash();
-			putReceived(received, VALUE_NAME, "<exception occured while parsing message>");
+			putReceived(received, VALUE_NAME, "<exception occurred while parsing message>");
 			putReceived(received, EXCEPTION_VALUE, e.comment());
 		} catch(...) {
 			// abnormal stream free
--- a/src/types/pa_vxdoc.h
+++ b/src/types/pa_vxdoc.h
@@ -94,13 +94,13 @@ public: // VXdoc
 
 	xmlDoc& get_xmldoc() {
 		if(!fdocument)
-			throw Exception(PARSER_RUNTIME, 0, "using unitialized xdoc object");
+			throw Exception(PARSER_RUNTIME, 0, "using uninitialized xdoc object");
 		return *fdocument;
 	}
 
 	Request_charsets& charsets() {
 		if(!fcharsets)
-			throw Exception(PARSER_RUNTIME, 0, "using unitialized xdoc object");
+			throw Exception(PARSER_RUNTIME, 0, "using uninitialized xdoc object");
 		return *fcharsets;
 	}
 
--- a/src/classes/string.C
+++ b/src/classes/string.C
@@ -504,7 +504,7 @@ public:
 			result=new String(str, String::L_TAINTED /* no length as 0x00 can be inside */ );
 			return false;
 		} catch(...) {
-			error=SQL_Error("exception occured in String_sql_event_handlers::add_row_cell");
+			error=SQL_Error("exception occurred in String_sql_event_handlers::add_row_cell");
 			return true;
 		}
 	}
