mirror of
https://github.com/Mibew/java.git
synced 2025-01-22 17:40:35 +03:00
Fix bug with wrong exception class
This commit is contained in:
parent
a650a35dd6
commit
0933263cc9
@ -155,7 +155,7 @@ class ThreadProcessor extends RequestProcessor {
|
|||||||
}
|
}
|
||||||
// Check thread id and thread token for the remaining functions
|
// Check thread id and thread token for the remaining functions
|
||||||
if ($thread_id != $function['arguments']['threadId'] || $token != $function['arguments']['token']) {
|
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!',
|
'Various thread id or thread token in different functions in one package!',
|
||||||
ThreadProcessorException::VARIOUS_THREAD_ID
|
ThreadProcessorException::VARIOUS_THREAD_ID
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user