RE: [simplestore] what Exceptions do we need?

2002-01-25 Thread Gerhard Froehlich
Hi, Hi, 1.ServiceNotAvailableException is useful to handle fatal erros, Log message,send SNS for admin 2.NotFoundException == KeyNotFoundException is useful to optimize get without contais and for null result, nul is also good value. A Exception seems to be cleaner in this case.

RE: [simplestore] what Exceptions do we need?

2002-01-25 Thread Juozas Baliuka
At 01:34 PM 1/25/2002 +0100, you wrote: Hi, Hi, 1.ServiceNotAvailableException is useful to handle fatal erros, Log message,send SNS for admin 2.NotFoundException == KeyNotFoundException is useful to optimize get without contais and for null result, nul is also good value.

RE: [simplestore] what Exceptions do we need?

2002-01-24 Thread Gerhard Froehlich
Hi, From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Hi, 1.ServiceNotAvailableException is useful to handle fatal erros, Log message,send SNS for admin 2.NotFoundException == KeyNotFoundException is useful to optimize get without contais and for null result, nul is also good value.

RE: [simplestore] what Exceptions do we need?

2002-01-24 Thread Juozas Baliuka
At 08:05 PM 1/24/2002 +0100, you wrote: Hi, From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Hi, 1.ServiceNotAvailableException is useful to handle fatal erros, Log message,send SNS for admin 2.NotFoundException == KeyNotFoundException is useful to optimize get without contais

[simplestore] what Exceptions do we need?

2002-01-23 Thread Gerhard Froehlich
Hi Juozas, all, I want to add some Exceptions to the simplestore. Juozas you proposed following two: - ServiceNotAvailableException for what? - NotFoundException maybe: - KeyNotUniqueException - KeyNotFoundException is usefull too. Your comments? Gerhard A man with one watch knows what