lass="p">)</span>
    <span class="o">...</span>
<span class="p">}</span>
</code></pre>
<h2 id='a-name-example2-a-example-2' class='heading'><a name="example2"></a> Example 2:</h2>

<p>Simple protocol that declares methods that throws. For rethrowing methods valid signatures are generated, but there is no possibility to specify thrown error value.</p>
<h3 id='a-name-example2-1-a-simple-protocol-with-methods-that-throws' class='heading'><a name="example2.1"></a> Simple protocol with methods that throws</h3>
