[sandbox.akabana]/trunk/yui/yui-framework/src/main/flex/org/seasar/akabana/yui/framework/event/RuntimeErrorEvent.as
Parent Directory
|
Revision Log
Revision 1504 -
(hide 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 | e1arkw | 982 | /* |
| 2 | e1arkw | 1504 | * Copyright 2004-2011 the Seasar Foundation and the Others. |
| 3 | e1arkw | 982 | * |
| 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 | e1arkw | 1066 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 13 | e1arkw | 982 | * either express or implied. See the License for the specific language |
| 14 | * governing permissions and limitations under the License. | ||
| 15 | */ | ||
| 16 | e1arkw | 1482 | package org.seasar.akabana.yui.framework.event |
| 17 | e1arkw | 666 | { |
| 18 | e1arkw | 1305 | import flash.events.ErrorEvent; |
| 19 | |||
| 20 | import org.seasar.akabana.yui.core.reflection.ClassRef; | ||
| 21 | e1arkw | 1066 | |
| 22 | e1arkw | 1305 | public class RuntimeErrorEvent extends ErrorEvent |
| 23 | { | ||
| 24 | public static const RUNTIME_ERROR:String = "runtimeError"; | ||
| 25 | e1arkw | 1262 | |
| 26 | e1arkw | 1305 | public static function createEvent( e:Error ):RuntimeErrorEvent{ |
| 27 | var runtimeErrorEvent:RuntimeErrorEvent = new RuntimeErrorEvent(RUNTIME_ERROR); | ||
| 28 | e1arkw | 1262 | runtimeErrorEvent.error = e; |
| 29 | e1arkw | 1305 | return runtimeErrorEvent; |
| 30 | } | ||
| 31 | e1arkw | 1262 | |
| 32 | e1arkw | 1305 | public var error:Error; |
| 33 | e1arkw | 1066 | |
| 34 | e1arkw | 1305 | public function RuntimeErrorEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = true, error:*=null){ |
| 35 | super(type,bubbles,cancelable,text); | ||
| 36 | } | ||
| 37 | } | ||
| 38 | e1arkw | 666 | } |
| Repository Top ViewVC Help |
![]() |
| Powered by ViewVC |

