modified classes for GeneralException thrown
This commit is contained in:
@ -38,7 +38,7 @@ abstract class MongoDbCommand
|
||||
if ($this->checkParams()) {
|
||||
return $this->concreteExecute();
|
||||
} else {
|
||||
throw new Exception(get_called_class() . ' error. Bind all required params first.');
|
||||
throw new GeneralException(get_called_class() . ' error. Bind all required params first.');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user