anchor.diff:  	    %% May be an imported entity in module Emod or Emod may not exist
   	    case asn1_db:dbget(Emod,'MODULE') of
   		undefined ->
  -		    throw({error,{asn1,{module_not_found,Emod}}});
  +		    asn1_error(S, {undefined_import, Ename, Emod});
   		_ ->
   		    NewS = update_state(S,Emod),
   		    get_imported(NewS,Ename,Emod,Pos)
  
positive.code: component_index1(S,Name,[_C|Cs],N) ->
      component_index1(S,Name,Cs,N+1);
  component_index1(S,Name,[],_) ->
      error({type,{asn1,"component of at-list was not"
  		 " found in substructure",Name},S}).
  
  get_unique_fieldname(S, #classdef{typespec=TS}) ->
      Fields = TS#objectclass.fields,
  
negative.code:     InnerType = asn1ct_gen:get_inner(Type#type.def),
      Components =
  	case get_atlist_components(Type#type.def) of
  	    [] -> asn1_error(S, {invalid_element, Name});
  	    Comps -> Comps
  	end,
      {Index,ValueIndex} = component_value_index(S,InnerType,At,Components),
  