Changeset 224 for ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/services/BrowserService.as
- Timestamp:
- 03/09/10 17:37:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/services/BrowserService.as
r161 r224 3 3 4 4 import mx.collections.ArrayCollection; 5 import mx.controls.Alert; 5 6 import mx.messaging.messages.HTTPRequestMessage; 6 7 import mx.rpc.AsyncToken; … … 9 10 import mx.rpc.events.ResultEvent; 10 11 import mx.rpc.http.HTTPService; 11 import mx.utils.ObjectUtil;12 12 import mx.utils.StringUtil; 13 13 … … 47 47 public function fault(faultEvent:FaultEvent):void { 48 48 var errorMessage:String = StringUtil.substitute("Error in {0}: {1} - {2}", this, faultEvent.fault.faultString, faultEvent.fault.faultDetail); 49 throw new Error(errorMessage);49 Alert.show(errorMessage); 50 50 } 51 51
Note: See TracChangeset
for help on using the changeset viewer.