PageRenderTime 54ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/1.2/docs/html/api/seed/kissy/error.html

https://github.com/kissyteam/kissyteam.github.com
HTML | 266 lines | 219 code | 29 blank | 18 comment | 0 complexity | 6876ec1e8d2a3d7961b47aae2b42ec94 MD5 | raw file
Possible License(s): Apache-2.0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>error &mdash; KISSY v1.2 Documentation</title>
  6. <link rel="stylesheet" href="http://a.tbcdn.cn/s/kissy/1.2.0/css/reset.css"/>
  7. <link rel="stylesheet" href="../../../_static/kissy.css"/>
  8. <link rel="stylesheet" href="../../../_static/pygments.css"/>
  9. <link rel="shortcut icon" href="http://a.tbcdn.cn/s/kissy/favicon.ico" type="image/x-icon" />
  10. <link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
  11. <script>
  12. var DOCUMENTATION_OPTIONS = {
  13. URL_ROOT: '../../../',
  14. VERSION: '',
  15. COLLAPSE_INDEX: false,
  16. FILE_SUFFIX: '.html',
  17. HAS_SOURCE: true
  18. };
  19. (function(){
  20. var js=[],h=window.location.href,d=document;
  21. js.push("../../../_static/jquery.js");
  22. js.push("../../../_static/underscore.js");
  23. js.push("../../../_static/doctools.js");
  24. for(var i=0;i<js.length;i++){
  25. var j=js[i];
  26. if(h.indexOf("localhost/kissy_git/")==-1&&j.indexOf("jquery.js")!=-1){
  27. d.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"><\/script>');
  28. }else{
  29. d.write('<script type="text/javascript" src="'+ j +'"><\/script>');
  30. }
  31. }
  32. })();
  33. </script>
  34. <script>
  35. var _gaq = _gaq || [];
  36. _gaq.push(['_setAccount', 'UA-31470541-1']);
  37. _gaq.push(['_trackPageview']);
  38. (function() {
  39. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  40. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  41. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  42. })();
  43. </script>
  44. </head>
  45. <body><div id="header">
  46. <h1 class="logo"><a alt="KISSY" href="http://docs.kissyui.com">
  47. <img src="http://a.tbcdn.cn/s/kissy/logo.png" />
  48. </a></h1>
  49. <ul class="navigation">
  50. <li><a href="http://docs.kissyui.com">首页</a></li>
  51. <li><a href="../../../../html/tutorials/index.html" >Tutorials</a></li>
  52. <li><a href="../../../../html/api/index.html" >API</a></li>
  53. <li><a href="../../../../html/demo/index.html" >DEMO</a></li>
  54. <li><a href="https://groups.google.com/group/kissy-ui" >Google Group</a></li>
  55. <li><a href="http://www.github.com/kissyteam" >Source Code</a></li>
  56. <li><a href="http://docs.kissyui.com/kissy/docs/" >English API Docs</a></li>
  57. </ul>
  58. <div id="searchbox" style="display: none" class="searchbox">
  59. <form class="search" action="../../../search.html" method="get">
  60. <input type="text" name="q" size="28" class="ipt"/>
  61. <input type="submit" value="Go" class="btn"/>
  62. <input type="hidden" name="check_keywords" value="yes" />
  63. <input type="hidden" name="area" value="default" />
  64. </form>
  65. </div>
  66. <script type="text/javascript">$('#searchbox').show(0);</script>
  67. </div>
  68. <div id="content">
  69. <div class="layout grid-s6m0">
  70. <div class="col-main">
  71. <div class="main-wrap">
  72. <div class='related'>
  73. <h3>Navigation</h3>
  74. <ul>
  75. <li class="right" style="margin-right: 10px">
  76. <a href="../../../genindex.html" title="General Index"
  77. accesskey="I">index</a></li>
  78. <li class="right" >
  79. <a href="../../../py-modindex.html" title="Python Module Index"
  80. >modules</a> | </li>
  81. <li class="right" >
  82. <a href="guid.html" title="guid"
  83. accesskey="N">next</a> | </li>
  84. <li class="right" >
  85. <a href="log.html" title="log"
  86. accesskey="P">previous</a> | </li>
  87. <li><a href="../../../index.html">KISSY v1.2 Documentation</a> &#187; </li>
  88. <li><a href="../../index.html" >API Documentation</a> &#187; </li>
  89. <li><a href="../index.html" >Seed</a> &#187; </li>
  90. <li><a href="index.html" accesskey="U">KISSY</a> &#187; </li>
  91. </ul>
  92. </div>
  93. <div class="section" id="error">
  94. <h1>error<a class="headerlink" href="#error" title="Permalink to this headline"></a></h1>
  95. <div class="section" id="module">
  96. <h2>Module<a class="headerlink" href="#module" title="Permalink to this headline"></a></h2>
  97. <blockquote>
  98. <div><a class="reference internal" href="../index.html#module-seed" title="seed"><tt class="xref py py-mod docutils literal"><span class="pre">seed</span></tt></a></div></blockquote>
  99. </div>
  100. <div class="section" id="methods">
  101. <h2>Methods<a class="headerlink" href="#methods" title="Permalink to this headline"></a></h2>
  102. <dl class="function">
  103. <dt id="seed.KISSY.error">
  104. <tt class="descclassname">KISSY.</tt><tt class="descname">error</tt><big>(</big><big>)</big><a class="headerlink" href="#seed.KISSY.error" title="Permalink to this definition"></a></dt>
  105. <dd><div class="line-block">
  106. <div class="line">void <strong>KISSY.error</strong> (msg)</div>
  107. <div class="line">抛出错误异常</div>
  108. </div>
  109. <table class="docutils field-list" frame="void" rules="none">
  110. <col class="field-name" />
  111. <col class="field-body" />
  112. <tbody valign="top">
  113. <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>msg</strong> (<em>string</em>) &#8211; 异常信息</td>
  114. </tr>
  115. </tbody>
  116. </table>
  117. <div class="admonition note">
  118. <p class="first admonition-title">Note</p>
  119. <p class="last">只有在 debug 模式下, 才会抛出异常. debug 模式的说明请参考 <a class="reference internal" href="Config.html#seed.KISSY.Config" title="seed.KISSY.Config"><tt class="xref py py-attr docutils literal"><span class="pre">Config</span></tt></a></p>
  120. </div>
  121. </dd></dl>
  122. </div>
  123. </div>
  124. <div class='related'>
  125. <h3>Navigation</h3>
  126. <ul>
  127. <li class="right" style="margin-right: 10px">
  128. <a href="../../../genindex.html" title="General Index"
  129. accesskey="I">index</a></li>
  130. <li class="right" >
  131. <a href="../../../py-modindex.html" title="Python Module Index"
  132. >modules</a> | </li>
  133. <li class="right" >
  134. <a href="guid.html" title="guid"
  135. accesskey="N">next</a> | </li>
  136. <li class="right" >
  137. <a href="log.html" title="log"
  138. accesskey="P">previous</a> | </li>
  139. <li><a href="../../../index.html">KISSY v1.2 Documentation</a> &#187; </li>
  140. <li><a href="../../index.html" >API Documentation</a> &#187; </li>
  141. <li><a href="../index.html" >Seed</a> &#187; </li>
  142. <li><a href="index.html" accesskey="U">KISSY</a> &#187; </li>
  143. </ul>
  144. </div>
  145. <div id="disqus_thread"></div>
  146. <script>
  147. if((window.location.hostname.indexOf("kissyui.com")!=-1 )&& window.localStorage.getItem("kissy-commment")!="0"){
  148. /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
  149. var disqus_shortname = 'kissy-docs'; // required: replace example with your forum shortname
  150. // The following are highly recommended additional parameters. Remove the slashes in front to use.
  151. //var disqus_identifier = '/anim';
  152. //var disqus_url = window.location;
  153. /* * * DON'T EDIT BELOW THIS LINE * * */
  154. (function() {
  155. var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
  156. dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
  157. (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  158. })();
  159. }
  160. </script>
  161. <!--<div id="google-search-box">
  162. <div id="cse" style="width: 100%;">Loading</div>
  163. <script>
  164. if(window.location.hostname.indexOf("kissyui.com")!=-1){
  165. document.write('<script src="http://www.google.com/jsapi" type="text/javascript"><'+'/script>');
  166. }
  167. </script>
  168. <script>
  169. if(window.location.hostname.indexOf("kissyui.com")!=-1){
  170. google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.MINIMALIST});
  171. google.setOnLoadCallback(function() {
  172. var customSearchControl = new google.search.CustomSearchControl('012347804910294994683:n4uzb24gqdm');
  173. customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
  174. customSearchControl.draw('cse');
  175. }, true);
  176. }
  177. </script>
  178. </div>-->
  179. </div>
  180. </div>
  181. <div class="col-sub"><ul class="s-box api-toctree">
  182. <h2 class="s-box-hd">Seed</h2>
  183. <ul class="s-box-bd">
  184. <li><a href="../loader/index.html">loader</a></li>
  185. <li><a href="index.html">kissy</a></li>
  186. <li><a href="../lang/index.html">lang</a></li>
  187. <li><a href="../web/index.html">web</a></li>
  188. </ul>
  189. </ul>
  190. <ul class="s-box core-toctree">
  191. <h2 class="s-box-hd">Core</h2>
  192. <ul class="s-box-bd">
  193. <li><a href="../../core/ua/index.html">ua</a></li>
  194. <li><a href="../../core/dom/index.html">dom</a></li>
  195. <li><a href="../../core/event/index.html">event</a></li>
  196. <li><a href="../../core/node/index.html">node</a></li>
  197. <li><a href="../../core/json/index.html">json</a></li>
  198. <li><a href="../../core/ajax/index.html">ajax</a></li>
  199. <li><a href="../../core/cookie/index.html">cookie</a></li>
  200. <li><a href="../../core/base/index.html">base</a></li>
  201. <li><a href="../../core/anim/index.html">anim</a></li>
  202. </ul>
  203. </ul>
  204. <ul class="s-box component-toctree">
  205. <h2 class="s-box-hd">Component</h2>
  206. <ul class="s-box-bd">
  207. <li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
  208. <li><a href="../../component/mvc/index.html">mvc</a></li>
  209. <li><a href="../../component/template/index.html">template</a></li>
  210. <li><a href="../../component/datalazyload/index.html">datalazyload</a></li>
  211. <li><a href="../../component/flash/index.html">flash</a></li>
  212. <li><a href="../../component/dd/index.html">dd</a></li>
  213. <li><a href="../../component/resizable/index.html">resizable</a></li>
  214. <li><a href="../../component/switchable/index.html">switchable</a></li>
  215. <li><a href="../../component/suggest/index.html">suggest</a></li>
  216. <li><a href="../../component/calendar/index.html">calendar</a></li>
  217. <li><a href="../../component/imagezoom/index.html">imagezoom</a></li>
  218. <li><a href="../../component/overlay/index.html">overlay</a></li>
  219. <li><a href="../../component/uibase/index.html">uibase</a></li>
  220. <li><a href="../../component/component/index.html">component</a></li>
  221. <li><a href="../../component/button/index.html">button</a></li>
  222. <li><a href="../../component/menu/index.html">menu</a></li>
  223. <li><a href="../../component/menubutton/index.html">menubutton</a></li>
  224. <li><a href="../../component/tree/index.html">tree</a></li>
  225. <li><a href="../../component/waterfall/index.html">waterfall</a></li>
  226. <li><a href="http://docs.kissyui.com/kissy/src/validation/demo/" target="_blank">validation</a></li>
  227. <li><a href="../../component/editor/index.html">editor</a></li>
  228. </ul>
  229. </ul>
  230. </div>
  231. </div>
  232. </div>
  233. <div id="footer">
  234. &copy; Copyright 2010~2012, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>
  235. </div>
  236. </body>
  237. </html>