naive question: how do you define your exception which needs to onherit
Exception?
Are you doing this:
class Exception extends ::exception { }
Inside namespace - yes, that's the best way. In fact, I think Exception
extends Exception may work too, but that would be seriously confusing :)
Hello Benjamin,
naive question: how do you define your exception which needs to onherit
Exception?
Are you doing this:
class Exception extends ::exception { }
???
marcus
p.s.: I think that is really ugly and actually sounds like replacing a core
functionality...
Tuesday, October 2, 2007,
Hi all,
import Foo::Bar AS DomDocument;
import Foo::Exception;
import MyStuff::Dom::XsltProcessor;
Result in a "Fatal error: Import name '...' conflicts with defined
class"
Of course i want to refer to my own exception in my application or
framework as "Exception", and of course i want to us