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
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
> "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
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
> "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
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]>
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
> "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/
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
> "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
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
11 matches
Mail list logo