def trace=(trace)
      raise TypeException unless trace.is_a?(Array)
      trace.each { |item|
        raise TypeException unless item.is_a?(StatModule::Location)
        raise DuplicateElementException if @trace.include?(item)
        @trace.push(item)
      }
    end
def trace=(trace)
      raise TypeException unless trace.is_a?(Array)
      trace.each { |item|
        raise TypeException unless item.is_a?(StatModule::Location)
        raise DuplicateElementException if @trace.include?(item)
        @trace.push(item)
      }
    end
Set trace

 Params:
 +trace+:: array of StatModule::Location objects