virtualpetnameexception.as
来自「精通Actionscript 3.0 书籍源代码 非常实用」· AS 代码 · 共 12 行
AS
12 行
package zoo {
// The VirtualPetNameException class represents an exception thrown when
// a generally invalid pet name is specified for a pet
public class VirtualPetNameException extends Error {
// Constructor
public function VirtualPetNameException (
message:String = "Invalid pet name specified.") {
// Invoke the Error constructor
super(message);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?