Re: [Vala] Problems with "exceptions"
- From: tecywiz121 <tecywiz121 hotmail com>
- To: CaStarCo <castarco gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problems with "exceptions"
- Date: Wed, 09 Jun 2010 22:27:39 -0400
On Thu, 2010-06-10 at 02:14 +0200, CaStarCo wrote:
Hello, i have a little problem playing with "exceptions" in vala,
i have something like this:
errordomain SeldonTypeError {
BAD_VERIFIER
}
And runs ok, but.. how can i put inside the errordomain SeldonTypeError
another type of exception? such as.. BAD_GENERALIZER ?
I'm not 100% sure if I understand you correctly, but if you would like
to be able to throw SeldonTypeError.BAD_VERIFIER and
SeldonTypeError.BAD_GENERALIZER the errordomain would look like
errordomain SeldonTypeError
{
BAD_VERIFIER,
BAD_GENERALIZER
}
Hope that helps,
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]