/1.2/docs/html/api/seed/kissy/error.html
HTML | 266 lines | 219 code | 29 blank | 18 comment | 0 complexity | 6876ec1e8d2a3d7961b47aae2b42ec94 MD5 | raw file
Possible License(s): Apache-2.0
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <title>error — KISSY v1.2 Documentation</title>
- <link rel="stylesheet" href="http://a.tbcdn.cn/s/kissy/1.2.0/css/reset.css"/>
- <link rel="stylesheet" href="../../../_static/kissy.css"/>
- <link rel="stylesheet" href="../../../_static/pygments.css"/>
- <link rel="shortcut icon" href="http://a.tbcdn.cn/s/kissy/favicon.ico" type="image/x-icon" />
- <link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
- <script>
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../../../',
- VERSION: '',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- (function(){
- var js=[],h=window.location.href,d=document;
- js.push("../../../_static/jquery.js");
- js.push("../../../_static/underscore.js");
- js.push("../../../_static/doctools.js");
- for(var i=0;i<js.length;i++){
- var j=js[i];
- if(h.indexOf("localhost/kissy_git/")==-1&&j.indexOf("jquery.js")!=-1){
- d.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"><\/script>');
- }else{
- d.write('<script type="text/javascript" src="'+ j +'"><\/script>');
- }
- }
- })();
- </script>
- <script>
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-31470541-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
- <body><div id="header">
- <h1 class="logo"><a alt="KISSY" href="http://docs.kissyui.com">
- <img src="http://a.tbcdn.cn/s/kissy/logo.png" />
- </a></h1>
- <ul class="navigation">
- <li><a href="http://docs.kissyui.com">首页</a></li>
- <li><a href="../../../../html/tutorials/index.html" >Tutorials</a></li>
- <li><a href="../../../../html/api/index.html" >API</a></li>
- <li><a href="../../../../html/demo/index.html" >DEMO</a></li>
- <li><a href="https://groups.google.com/group/kissy-ui" >Google Group</a></li>
- <li><a href="http://www.github.com/kissyteam" >Source Code</a></li>
- <li><a href="http://docs.kissyui.com/kissy/docs/" >English API Docs</a></li>
- </ul>
- <div id="searchbox" style="display: none" class="searchbox">
- <form class="search" action="../../../search.html" method="get">
- <input type="text" name="q" size="28" class="ipt"/>
- <input type="submit" value="Go" class="btn"/>
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- <div id="content">
- <div class="layout grid-s6m0">
- <div class="col-main">
- <div class="main-wrap">
-
- <div class='related'>
- <h3>Navigation</h3>
-
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../../../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../../../py-modindex.html" title="Python Module Index"
- >modules</a> | </li>
- <li class="right" >
- <a href="guid.html" title="guid"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="log.html" title="log"
- accesskey="P">previous</a> | </li>
- <li><a href="../../../index.html">KISSY v1.2 Documentation</a> » </li>
- <li><a href="../../index.html" >API Documentation</a> » </li>
- <li><a href="../index.html" >Seed</a> » </li>
- <li><a href="index.html" accesskey="U">KISSY</a> » </li>
- </ul>
- </div>
-
- <div class="section" id="error">
- <h1>error<a class="headerlink" href="#error" title="Permalink to this headline">¶</a></h1>
- <div class="section" id="module">
- <h2>Module<a class="headerlink" href="#module" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <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>
- </div>
- <div class="section" id="methods">
- <h2>Methods<a class="headerlink" href="#methods" title="Permalink to this headline">¶</a></h2>
- <dl class="function">
- <dt id="seed.KISSY.error">
- <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>
- <dd><div class="line-block">
- <div class="line">void <strong>KISSY.error</strong> (msg)</div>
- <div class="line">抛出错误异常</div>
- </div>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>msg</strong> (<em>string</em>) – 异常信息</td>
- </tr>
- </tbody>
- </table>
- <div class="admonition note">
- <p class="first admonition-title">Note</p>
- <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>
- </div>
- </dd></dl>
- </div>
- </div>
-
- <div class='related'>
- <h3>Navigation</h3>
-
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../../../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../../../py-modindex.html" title="Python Module Index"
- >modules</a> | </li>
- <li class="right" >
- <a href="guid.html" title="guid"
- accesskey="N">next</a> | </li>
- <li class="right" >
- <a href="log.html" title="log"
- accesskey="P">previous</a> | </li>
- <li><a href="../../../index.html">KISSY v1.2 Documentation</a> » </li>
- <li><a href="../../index.html" >API Documentation</a> » </li>
- <li><a href="../index.html" >Seed</a> » </li>
- <li><a href="index.html" accesskey="U">KISSY</a> » </li>
- </ul>
- </div>
- <div id="disqus_thread"></div>
- <script>
- if((window.location.hostname.indexOf("kissyui.com")!=-1 )&& window.localStorage.getItem("kissy-commment")!="0"){
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
- var disqus_shortname = 'kissy-docs'; // required: replace example with your forum shortname
- // The following are highly recommended additional parameters. Remove the slashes in front to use.
- //var disqus_identifier = '/anim';
- //var disqus_url = window.location;
- /* * * DON'T EDIT BELOW THIS LINE * * */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- }
- </script>
- <!--<div id="google-search-box">
- <div id="cse" style="width: 100%;">Loading</div>
- <script>
- if(window.location.hostname.indexOf("kissyui.com")!=-1){
- document.write('<script src="http://www.google.com/jsapi" type="text/javascript"><'+'/script>');
- }
- </script>
- <script>
- if(window.location.hostname.indexOf("kissyui.com")!=-1){
- google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.MINIMALIST});
- google.setOnLoadCallback(function() {
- var customSearchControl = new google.search.CustomSearchControl('012347804910294994683:n4uzb24gqdm');
- customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
- customSearchControl.draw('cse');
- }, true);
- }
- </script>
- </div>-->
- </div>
- </div>
- <div class="col-sub"><ul class="s-box api-toctree">
- <h2 class="s-box-hd">Seed</h2>
- <ul class="s-box-bd">
- <li><a href="../loader/index.html">loader</a></li>
- <li><a href="index.html">kissy</a></li>
- <li><a href="../lang/index.html">lang</a></li>
- <li><a href="../web/index.html">web</a></li>
- </ul>
- </ul>
- <ul class="s-box core-toctree">
- <h2 class="s-box-hd">Core</h2>
- <ul class="s-box-bd">
- <li><a href="../../core/ua/index.html">ua</a></li>
- <li><a href="../../core/dom/index.html">dom</a></li>
- <li><a href="../../core/event/index.html">event</a></li>
- <li><a href="../../core/node/index.html">node</a></li>
- <li><a href="../../core/json/index.html">json</a></li>
- <li><a href="../../core/ajax/index.html">ajax</a></li>
- <li><a href="../../core/cookie/index.html">cookie</a></li>
- <li><a href="../../core/base/index.html">base</a></li>
- <li><a href="../../core/anim/index.html">anim</a></li>
- </ul>
- </ul>
- <ul class="s-box component-toctree">
- <h2 class="s-box-hd">Component</h2>
- <ul class="s-box-bd">
- <li><a href="https://github.com/jquery/sizzle/wiki/Sizzle-Home">sizzle</a></li>
- <li><a href="../../component/mvc/index.html">mvc</a></li>
- <li><a href="../../component/template/index.html">template</a></li>
- <li><a href="../../component/datalazyload/index.html">datalazyload</a></li>
- <li><a href="../../component/flash/index.html">flash</a></li>
- <li><a href="../../component/dd/index.html">dd</a></li>
- <li><a href="../../component/resizable/index.html">resizable</a></li>
- <li><a href="../../component/switchable/index.html">switchable</a></li>
- <li><a href="../../component/suggest/index.html">suggest</a></li>
- <li><a href="../../component/calendar/index.html">calendar</a></li>
- <li><a href="../../component/imagezoom/index.html">imagezoom</a></li>
- <li><a href="../../component/overlay/index.html">overlay</a></li>
- <li><a href="../../component/uibase/index.html">uibase</a></li>
- <li><a href="../../component/component/index.html">component</a></li>
- <li><a href="../../component/button/index.html">button</a></li>
- <li><a href="../../component/menu/index.html">menu</a></li>
- <li><a href="../../component/menubutton/index.html">menubutton</a></li>
- <li><a href="../../component/tree/index.html">tree</a></li>
- <li><a href="../../component/waterfall/index.html">waterfall</a></li>
- <li><a href="http://docs.kissyui.com/kissy/src/validation/demo/" target="_blank">validation</a></li>
- <li><a href="../../component/editor/index.html">editor</a></li>
- </ul>
- </ul>
-
- </div>
- </div>
- </div>
- <div id="footer">
- © Copyright 2010~2012, KISSY Team. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>
- </div>
- </body>
- </html>