From 0933263cc9bedfb038caf7d797c7575e6744ff0c Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 15 Jan 2013 14:17:40 +0000 Subject: [PATCH] Fix bug with wrong exception class --- src/messenger/webim/libs/classes/thread_processor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messenger/webim/libs/classes/thread_processor.php b/src/messenger/webim/libs/classes/thread_processor.php index f260abb6..defc683e 100644 --- a/src/messenger/webim/libs/classes/thread_processor.php +++ b/src/messenger/webim/libs/classes/thread_processor.php @@ -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 );