チェンジセット 1076
- コミット日時:
- 2008/04/22 22:10:03 (3 ヶ月前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/2.0.x/src/jp/progression/core/commands/CommandList.as
r1028 r1076 44 44 *//*=======================================================================*/ 45 45 package jp.progression.core.commands { 46 import flash.events.Event; 46 47 import flash.utils.Dictionary; 47 48 import flash.utils.getQualifiedClassName; … … 156 157 // コマンドを取得する 157 158 switch ( e.type ) { 158 case CommandCatchEvent.EXCEPTION : { _currentCommand = Command( _exceptionList[e.relatedObject ] ); break; }159 case CommandCatchEvent.ERROR : { _currentCommand = Command( _eventList[e.relatedObject ] ); break; }159 case CommandCatchEvent.EXCEPTION : { _currentCommand = Command( _exceptionList[e.relatedObject != null ? e.relatedObject.constructor : null] ); break; } 160 case CommandCatchEvent.ERROR : { _currentCommand = Command( _eventList[e.relatedObject != null ? Event(e.relatedObject).type : null] ); break; } 160 161 } 161 162 trunk/2.0.x/tests/jp/progression/core/commands/CommandListTest.as
r1075 r1076 48 48 } 49 49 50 ignore static const catchBySuperClass:String = 'TODO'; 50 51 test function catchBySuperClass():void 51 52 {
