[sandbox.akabana]/trunk/yui/yui-framework/src/main/flex/org/seasar/akabana/yui/framework/event/RuntimeErrorEvent.as
Parent Directory
|
Revision Log
Revision 1504 -
(show annotations)
Sat Feb 19 16:23:33 2011 JST (2 years, 3 months ago) by e1arkw
File size: 1433 byte(s)
Sat Feb 19 16:23:33 2011 JST (2 years, 3 months ago) by e1arkw
File size: 1433 byte(s)
Copyrightを変更
| 1 | /* |
| 2 | * Copyright 2004-2011 the Seasar Foundation and the Others. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 13 | * either express or implied. See the License for the specific language |
| 14 | * governing permissions and limitations under the License. |
| 15 | */ |
| 16 | package org.seasar.akabana.yui.framework.event |
| 17 | { |
| 18 | import flash.events.ErrorEvent; |
| 19 | |
| 20 | import org.seasar.akabana.yui.core.reflection.ClassRef; |
| 21 | |
| 22 | public class RuntimeErrorEvent extends ErrorEvent |
| 23 | { |
| 24 | public static const RUNTIME_ERROR:String = "runtimeError"; |
| 25 | |
| 26 | public static function createEvent( e:Error ):RuntimeErrorEvent{ |
| 27 | var runtimeErrorEvent:RuntimeErrorEvent = new RuntimeErrorEvent(RUNTIME_ERROR); |
| 28 | runtimeErrorEvent.error = e; |
| 29 | return runtimeErrorEvent; |
| 30 | } |
| 31 | |
| 32 | public var error:Error; |
| 33 | |
| 34 | public function RuntimeErrorEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = true, error:*=null){ |
| 35 | super(type,bubbles,cancelable,text); |
| 36 | } |
| 37 | } |
| 38 | } |
| Repository Top ViewVC Help |
![]() |
| Powered by ViewVC |

