[aspectc-user] Dealing with aspects

Sergio Queiroz sergio at consiste.dimap.ufrn.br
Tue Sep 6 15:36:22 CEST 2005


Hi!

I am not used to deal with exceptions and I am trying to define an aspect that
will verify some condition and will throw an exception. Currently, I can throw
an exception but I can not deal with it, the program is aborted. I wrote the
same code without aspects and it worked nice (the program finished normally),
so I would like to know if I am doing something wrong. I saw some code from
the AOSD tutorial but I did not notice much diference. I am using the version
0.92.

Sérgio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Contract.ah
Type: application/octet-stream
Size: 449 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Customer.cpp
Type: text/x-c++src
Size: 105 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Customer.h
Type: text/x-chdr
Size: 127 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 239 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Types.h
Type: text/x-chdr
Size: 113 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 244 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment-0001.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ContractException.h
Type: text/x-chdr
Size: 538 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050906/86a6e295/attachment-0002.h>


More information about the aspectc-user mailing list