From: Adriano d. S. F. <adr...@gm...> - 2010-01-04 15:39:39
|
Carlos H. Cantu wrote: > This is not the same thing, but as you are talking enhancing custom > exception messages, I would like to see a way to have custom error > messages for some constraints types, specially check constraints. When > you define the constraint, you also define the error message that it > will throw. > > Vlad told me that probably there is already a ticket in the tracker > asking for this, but I can't check it, since tracker is still offline. > Yes, there is and that is very useful. It's good to think on it with parameterized exception in mind, because it would be better stored on the metadata as an exception statement BLR instead of just the exception name. Adriano |