Re: [Newbies] How to create new exception

2008-10-15 Thread Michael van der Gulik
On Wed, Oct 15, 2008 at 5:22 PM, Alex Chi <[EMAIL PROTECTED]> wrote: > Sorry for the that, I mean my problem is I put the exception in the wrong > part of my program, so everytime I try to call it in the method it does not > return the exception, so what i did was: > > 1. Create an new exception c

Re: [Newbies] How to create new exception

2008-10-14 Thread Alex Chi
used. Really appreciate all your help. - Original Message From: Alex Chi <[EMAIL PROTECTED]> To: beginners@lists.squeakfoundation.org Sent: Monday, October 13, 2008 5:18:43 PM Subject: Re: [Newbies] How to create new exception Thank you all! I already solved my problem. Thanks for y

Re: [Newbies] How to create new exception

2008-10-13 Thread Randal L. Schwartz
> "Alex" == Alex Chi <[EMAIL PROTECTED]> writes: Alex> I already solved my problem. Thanks for your help. For the mailing list, and future googlers, can you post what you ended up with? In general, it's rude to ask a question, then say "nevermind, I found the answer" without sharing the answ

Re: [Newbies] How to create new exception

2008-10-13 Thread Alex Chi
Thank you all! I already solved my problem. Thanks for your help. regards, alex - Original Message From: Alex Chi <[EMAIL PROTECTED]> To: beginners@lists.squeakfoundation.org Sent: Monday, October 13, 2008 12:31:18 PM Subject: Re: [Newbies] How to create new exception Thanks

Re: [Newbies] How to create new exception

2008-10-13 Thread Randal L. Schwartz
> "Alex" == Alex Chi <[EMAIL PROTECTED]> writes: Alex> Thanks a lot for all the information. Alex> 1 more question, after create a new exception class then to use it let's say I have to define something like: Alex> Then use it: Alex> [SpontaneousCombustionException signal] Alex> on: Spon

Re: [Newbies] How to create new exception

2008-10-13 Thread Alex Chi
on how to create new exception and call/use Alex> that exception in my program? I try to googling but don't seem to find Alex> one. Thanks. -- Message: 4 Date: Sun, 12 Oct 2008 09:20:00 -0700 From: Matthew Fulmer <[EMAIL PROTECTED]>

Re: [Newbies] How to create new exception

2008-10-12 Thread Matthew Fulmer
On Sun, Oct 12, 2008 at 01:50:05AM -0700, Alex Chi wrote: > Can you give me an example on how to create new exception and call/use that > exception in my program? I try to googling but don't seem to find one. Thanks. Create an exception class: Exception subclass: #SpontaneousCombustionException

Re: [Newbies] How to create new exception

2008-10-12 Thread Randal L. Schwartz
> "Alex" == Alex Chi <[EMAIL PROTECTED]> writes: Alex> Can you give me an example on how to create new exception and call/use Alex> that exception in my program? I try to googling but don't seem to find Alex> one. Thanks. See if this helps. http://www.cincomsmalltalk.com/userblogs/cincom/

Re: [Newbies] How to create new exception

2008-10-12 Thread Alex Chi
gt; Cc: beginners@lists.squeakfoundation.org Sent: Thursday, October 9, 2008 3:53:44 PM Subject: Re: [Newbies] How to create new exception >>>>> "Alex" == Alex Chi <[EMAIL PROTECTED]> writes: Alex> As a beginner in smalltalk I have a problem on how to create new Alex> exception

Re: [Newbies] How to create new exception

2008-10-09 Thread Randal L. Schwartz
> "Alex" == Alex Chi <[EMAIL PROTECTED]> writes: Alex> As a beginner in smalltalk I have a problem on how to create new Alex> exception class. For example I want to create FileNotFoundError, I have Alex> create a new class FileNotFoundError uner class Error. But then I get Alex> confuse where

[Newbies] How to create new exception

2008-10-09 Thread Alex Chi
Hi All, As a beginner in smalltalk I have a problem on how to create new exception class. For example I want to create FileNotFoundError, I have create a new class FileNotFoundError uner class Error. But then I get confuse where to write the description or defaultAction of my new exception? T