Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [HUTN] Null value on a reference
[HUTN] Null value on a reference [message #560949] Mon, 13 October 2008 09:31
Pau Giner is currently offline 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/
Previous Topic:[Epsilon] Default values in HUTN
Next Topic:[HUTN] Null value on a reference
Goto Forum:
  


Current Time: Sun May 26 03:25:21 EDT 2013

Powered by FUDForum. Page generated in 0.02045 seconds