domexception.jsc

来自「《JavaScript王者归来》examples.rar」· JSC 代码 · 共 31 行

JSC
31
字号
# language: JSVM2

/** * Copyright (c) 2000 World Wide Web Consortium, * (Massachusetts Institute of Technology, Institut National de * Recherche en Informatique et en Automatique, Keio University). All * Rights Reserved. This program is distributed under the W3C's Software * Intellectual Property License. This program is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. * See W3C License http://www.w3.org/Consortium/Legal/ for more details. */
 
package org.w3c.dom;

import js.lang.RuntimeException;

/** * DOM operations only raise exceptions in "exceptional" circumstances, i.e.,  * when an operation is impossible to perform (either for logical reasons,  * because data is lost, or because the implementation has become unstable). 
 */
class DOMException extends RuntimeException (msg)
{
	if (msg == null)
	{
		arguments = ["dom exception."];
	}
	super.apply(this, arguments);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?