File tree Expand file tree Collapse file tree
src/Dfcplc/PostcodeAnywhere
InternationalBankValidation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function MakeRequest()
2828 //Check for an error, if there is one then throw an exception
2929 if ($ file ->Columns ->Column ->attributes ()->Name == "Error " )
3030 {
31- throw new Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
31+ throw new \ Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
3232 }
3333
3434 //Copy the data
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function MakeRequest()
4343 //Check for an error, if there is one then throw an exception
4444 if ($ file ->Columns ->Column ->attributes ()->Name == "Error " )
4545 {
46- throw new Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
46+ throw new \ Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
4747 }
4848
4949 //Copy the data
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function MakeRequest()
4242 //Check for an error, if there is one then throw an exception
4343 if ($ file ->Columns ->Column ->attributes ()->Name == "Error " )
4444 {
45- throw new Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
45+ throw new \ Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
4646 }
4747
4848 //Copy the data
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function MakeRequest()
2727 //Check for an error, if there is one then throw an exception
2828 if ($ file ->Columns ->Column ->attributes ()->Name == "Error " )
2929 {
30- throw new Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
30+ throw new \ Exception ("[ID] " . $ file ->Rows ->Row ->attributes ()->Error . " [DESCRIPTION] " . $ file ->Rows ->Row ->attributes ()->Description . " [CAUSE] " . $ file ->Rows ->Row ->attributes ()->Cause . " [RESOLUTION] " . $ file ->Rows ->Row ->attributes ()->Resolution );
3131 }
3232
3333 //Copy the data
You can’t perform that action at this time.
0 commit comments