Fix bug with wrong exception class

This commit is contained in:
Dmitriy Simushev 2013-01-15 14:17:40 +00:00
parent a650a35dd6
commit 0933263cc9

View File

@ -155,7 +155,7 @@ class ThreadProcessor extends RequestProcessor {
}
// Check thread id and thread token for the remaining functions
if ($thread_id != $function['arguments']['threadId'] || $token != $function['arguments']['token']) {
throw new Exception(
throw new ThreadProcessorException(
'Various thread id or thread token in different functions in one package!',
ThreadProcessorException::VARIOUS_THREAD_ID
);