From d7973619155e84c56aba1b6fa68db3bc10a8691c Mon Sep 17 00:00:00 2001 From: Igor <43784724+CodeIgor@users.noreply.github.com> Date: Tue, 8 Mar 2022 09:30:27 -0300 Subject: [PATCH] Update Factory.php --- src/Common/Factory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/Factory.php b/src/Common/Factory.php index 71abe5ec..2d365f63 100755 --- a/src/Common/Factory.php +++ b/src/Common/Factory.php @@ -341,7 +341,7 @@ protected function toNode() { $method_name = $this->method_name; if (!method_exists($this, $method_name)) { - throw new Exception("Erro interno método {$method_name} não localizado."); + throw new \Exception("Erro interno método {$method_name} não localizado."); } return $this->$method_name(); }