Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jun 20, 2013
1 parent fba1d99 commit b67207f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -432,16 +432,16 @@ <h3>Exception <code>DOMException</code></h3>

<h3>Interface <code>DOMError</code></h3>

<p class=note>This interface is intended for other specifications that want
to introduce error handling through other means than exceptions. As with
exceptions, the <span>error names table</span> is used.

<pre class=idl>[<span title=dom-DOMError>Constructor</span>(DOMString <var title>name</var>, optional DOMString <var title>message</var> = "")]
interface <dfn>DOMError</dfn> {
readonly attribute DOMString <span title=dom-DOMError-name>name</span>;
readonly attribute DOMString <span title=dom-DOMError-message>message</span>;
};</pre>

<p class=note>This interface is intended for other specifications that want
to introduce error handling through other means than exceptions. As with
exceptions, the <span>error names table</span> is used.

<p>The <dfn title=dom-DOMError><code>DOMError(<var title>name</var>, <var title>message</var>)</code></dfn>
constructor must return a new <code>DOMError</code> object whose
<code title=dom-DOMError-name>name</code> attribute is initialized to
Expand Down Expand Up @@ -9654,6 +9654,7 @@ <h2 class=no-num>Acknowledgments</h2>
呂康豪 (Kang-Hao Lu),
Kevin Sweeney,
Manish Tripathi,
Marcos Caceres,
Mark Miller,
Mats Palmgren,
Mounir Lamouri,
Expand Down
9 changes: 5 additions & 4 deletions dom-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -510,16 +510,16 @@ <h3 id="exception-domexception"><span class="secno">3.1 </span>Exception <code><

<h3 id="interface-domerror"><span class="secno">3.2 </span>Interface <code><a href="#domerror">DOMError</a></code></h3>

<p class="note">This interface is intended for other specifications that want
to introduce error handling through other means than exceptions. As with
exceptions, the <a href="#error-names-table">error names table</a> is used.

<pre class="idl">[<a href="#dom-domerror" title="dom-DOMError">Constructor</a>(DOMString <var title="">name</var>, optional DOMString <var title="">message</var> = "")]
interface <dfn id="domerror">DOMError</dfn> {
readonly attribute DOMString <a href="#dom-domerror-name" title="dom-DOMError-name">name</a>;
readonly attribute DOMString <a href="#dom-domerror-message" title="dom-DOMError-message">message</a>;
};</pre>

<p class="note">This interface is intended for other specifications that want
to introduce error handling through other means than exceptions. As with
exceptions, the <a href="#error-names-table">error names table</a> is used.

<p>The <dfn id="dom-domerror" title="dom-DOMError"><code>DOMError(<var title="">name</var>, <var title="">message</var>)</code></dfn>
constructor must return a new <code><a href="#domerror">DOMError</a></code> object whose
<code title="dom-DOMError-name"><a href="#dom-domerror-name">name</a></code> attribute is initialized to
Expand Down Expand Up @@ -9727,6 +9727,7 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
呂康豪 (Kang-Hao Lu),
Kevin Sweeney,
Manish Tripathi,
Marcos Caceres,
Mark Miller,
Mats Palmgren,
Mounir Lamouri,
Expand Down

0 comments on commit b67207f

Please sign in to comment.