[Seaside] [3.0] Set exception handler for application?

Boris Popov, DeepCove Labs (YVR) boris at deepcovelabs.com
Fri May 7 15:29:18 UTC 2010


Thanks, that did the trick!

-Boris

-- 
DeepCove Labs Ltd.
+1 (604) 689-0322
4th floor, 595 Howe Street
Vancouver, British Columbia
Canada V6C 2T5
http://tinyurl.com/r7uw4

PacNet Services (Europe) Ltd.
+353 (0)61 714-360
Shannon Airport House, SFZ
County Clare, Ireland
http://tinyurl.com/y952amr

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

Thank you.


-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Sean Allen
Sent: 07 May 2010 14:32
To: Seaside - general discussion
Subject: Re: [Seaside] [3.0] Set exception handler for application?

Something like this...

application filter configuration
			at: #exceptionHandler
			put: myexceptionhandler

where application is a reference to your application...

On Fri, May 7, 2010 at 8:11 AM, Boris Popov, DeepCove Labs (YVR)
<boris at deepcovelabs.com> wrote:
> How would I go about setting a custom exception handler on my application?
>
>
>
> 2.8 = app preferenceAt: #errorHandler put: aClass
>
> 3.0 = ?
>
>
>
> I saw the bit about handlers installing themselves into defaults for
> development, but I'd like to change them on my apps...
>
>
>
> WAAdmin applicationExceptionHandlingDefaults at: #exceptionHandler put: self
>
>
>
> Speaking of settings, is there a shortcut for the following yet? Let me say
> as much as I like the improvements in 3.0, finding where some of these
> configurable settings live is a major PITA on occasion ;)
>
>
>
> app cache expiryPolicy configuration at: #cacheTimeout put: 6000.
>
>
>
> Regards,
>
>
>
> -Boris
>
>
>
> --
>
> DeepCove Labs Ltd.
>
> +1 (604) 689-0322
>
> 4th floor, 595 Howe Street
>
> Vancouver, British Columbia
>
> Canada V6C 2T5
>
> http://tinyurl.com/r7uw4
>
>
>
> PacNet Services (Europe) Ltd.
>
> +353 (0)61 714-360
>
> Shannon Airport House, SFZ
>
> County Clare, Ireland
>
> http://tinyurl.com/y952amr
>
>
>
> CONFIDENTIALITY NOTICE
>
>
>
> This email is intended only for the persons named in the message header.
> Unless otherwise indicated, it contains information that is private and
> confidential. If you have received it in error, please notify the sender and
> delete the entire message including any attachments.
>
>
>
> Thank you.
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list