Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] [Dev] Navigation attributes with null values

Hi

The exception should be InvalidValueException which is the way invalid is generally 'passed'.

    Regards

        Ed

On 01/08/2013 12:31, Horacio Hoyos Rodriguez wrote:

Hi Ed,

 

What is the correct way to evaluate:

 

c2t.fromAttributes.leafs;

 

if fromAttributes value is null?

 

Currently OCL throws an exception: 'NavigableObject' rather than 'OclVoid' value required.

 

I think it should return invalid so the QVT engine can deal with it, i.e. the binding is not valid then don’t invoke the mapping.

 

Regards,

 

 

Horacio Hoyos Rodríguez

EngD Student

University of York

 

http://www.york.ac.uk/docs/disclaimer/email.htm

 



_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3392 / Virus Database: 3209/6541 - Release Date: 07/31/13



Back to the top