2011-08-16 12:53:13 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
|
|
|
|
<html lang='en'>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" >
|
2011-10-18 19:46:05 +00:00
|
|
|
<title>dyaml.exception - D:YAML 0.3 API documentation</title>
|
2011-08-16 12:53:13 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body><div id="top">
|
|
|
|
<div id="header">
|
2011-10-18 19:46:05 +00:00
|
|
|
<img id="logo" alt="D:YAML logo" src="images/logo.png"><a id="main-heading" href="index.html">D:YAML 0.3 API documentation</a>
|
2011-08-16 12:53:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="navigation">
|
|
|
|
<div class="navblock">
|
|
|
|
<div id="toctop">
|
|
|
|
<ul><li><a href="../index.html">Documentation home</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="navblock">
|
|
|
|
<ul><li><a href="index.html">Main page</a></li>
|
|
|
|
<li><a href="dyaml.constructor.html">dyaml.constructor</a></li>
|
2011-10-14 08:34:53 +00:00
|
|
|
<li><a href="dyaml.dumper.html">dyaml.dumper</a></li>
|
|
|
|
<li><a href="dyaml.encoding.html">dyaml.encoding</a></li>
|
2011-08-16 12:53:13 +00:00
|
|
|
<li><a href="dyaml.exception.html">dyaml.exception</a></li>
|
2011-10-14 08:34:53 +00:00
|
|
|
<li><a href="dyaml.linebreak.html">dyaml.linebreak</a></li>
|
2011-08-16 12:53:13 +00:00
|
|
|
<li><a href="dyaml.loader.html">dyaml.loader</a></li>
|
|
|
|
<li><a href="dyaml.node.html">dyaml.node</a></li>
|
2011-10-14 08:34:53 +00:00
|
|
|
<li><a href="dyaml.representer.html">dyaml.representer</a></li>
|
2011-08-16 12:53:13 +00:00
|
|
|
<li><a href="dyaml.resolver.html">dyaml.resolver</a></li>
|
2011-10-29 18:43:30 +00:00
|
|
|
<li><a href="dyaml.style.html">dyaml.style</a></li>
|
2011-08-16 12:53:13 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="content">
|
|
|
|
<h1>dyaml.exception</h1>
|
|
|
|
<!-- Generated by Ddoc from dyaml/exception.d -->
|
2011-10-14 08:34:53 +00:00
|
|
|
<p>Exceptions thrown by D:YAML and exception related code.</p>
|
2011-08-16 12:53:13 +00:00
|
|
|
|
|
|
|
<dl><dt class="d_decl">class <a name="YAMLException"></a><span class="ddoc_psymbol">YAMLException</span>: object.Exception;
|
|
|
|
</dt>
|
|
|
|
<dd><p>Base class for all exceptions thrown by D:YAML.</p>
|
|
|
|
|
2011-10-14 08:34:53 +00:00
|
|
|
<dl><dt class="d_decl">this(string <b>msg</b>, string <b>file</b> = __FILE__, int <b>line</b> = __LINE__);
|
2011-08-16 12:53:13 +00:00
|
|
|
</dt>
|
2011-10-18 14:12:22 +00:00
|
|
|
<dd><p>Construct a YAMLException with specified message and position where it was thrown.</p>
|
2011-08-16 12:53:13 +00:00
|
|
|
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</dd>
|
|
|
|
<dt class="d_decl">struct <a name="Mark"></a><span class="ddoc_psymbol">Mark</span>;
|
|
|
|
</dt>
|
|
|
|
<dd><p>Position in a YAML stream, used for error messages.</p>
|
|
|
|
|
2011-10-29 18:43:30 +00:00
|
|
|
<dl><dt class="d_decl">this(in const(uint) <b>line</b>, in const(uint) <b>column</b>);
|
2011-08-16 12:53:13 +00:00
|
|
|
</dt>
|
|
|
|
<dd><p>Construct a Mark with specified <b>line</b> and <b>column</b> in the file.</p>
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
<dt class="d_decl">const string <a name="toString"></a><span class="ddoc_psymbol">toString</span>();
|
|
|
|
</dt>
|
|
|
|
<dd><p>Get a string representation of the mark.</p>
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="copyright">
|
|
|
|
Copyright © Ferdinand Majerech 2011. Based on <a href="http://www.pyyaml.org">PyYAML</a> by Kirill Simonov. |
|
|
|
|
Page generated by Autodoc and <a href="http://www.digitalmars.com/d/2.0/ddoc.html">Ddoc</a>.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|