| [HUTN] Null value on a reference [message #560949] |
Mon, 13 October 2008 09:31 |
Pau Giner Messages: 18 Registered: July 2009 |
Junior Member |
|
|
Hello,
is there any way of indicating in HUTN that a reference is empty?
I tried unsuccessfully different options ( null, OclUndefined, none,
nil, etc.) being null the one that provides a non-standard error
message. With null I get the following error (trying to assign the
useCase attribute of a UML Class to null):
org.eclipse.epsilon.hutn.exceptions.HutnTranslationException : Property
'values' not found in object
org.eclipse.epsilon.hutn.model.hutn.impl.NullSlotImpl@1f36902 [line: 0,
col: 0] [feature: useCase] (262:21)
Thanks.
--
Pau Giner Blasco
Centro de Investigación en Métodos de Producción de Software
Universidad Politécnica de Valencia
Camí de Vera, s/n 46022 Valencia
Office 2L04. Building 1F
e-mail: pginer@pros.upv.es
web: http://www.dsic.upv.es/~pginer/
|
|
|
Powered by
FUDForum. Page generated in 0.02045 seconds