Welcome Guest, Not a member yet? Register   Sign In
How to instance an exception in the controller
#2

[eluser]Michael Wales[/eluser]
Why not just include() it?

EDIT:
Actually - looking over it a bit more... your extended Exception class should be auto-loaded (since it's named My_Exception).

Does this not work?
Code:
$err = new My_Exception($msg, $title, $level);


Messages In This Thread
How to instance an exception in the controller - by El Forum - 05-22-2008, 05:29 PM
How to instance an exception in the controller - by El Forum - 05-23-2008, 01:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB