Hello,

my question today is about catching exceptions.

I have an exception, which is subclassed from Notification, so if I'm not catching it, it's absolutely silent.

But if I want to catch it, how could I do printout the whole information (like the printStackTrace in Java...)?

...

And to make sure, I'm on the right way, my Exception is defined as:

Notification subclass: NotBase64Encoded [

    description [
        ^'String is not Base64 encoded'
    ]

]

and I throw it with:

^NotBase64Encoded new signal: ('String: ''%1'' is not base64 encoded' bindWith: aString)

Thanks in advance,
Joachim.


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to