javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/install/steps/DlListener.java
equal
deleted
inserted
replaced
54 { |
54 { |
55 iInstallerUi.started(getUiDlInfo(aDlInfo)); |
55 iInstallerUi.started(getUiDlInfo(aDlInfo)); |
56 } |
56 } |
57 catch (Throwable t) |
57 catch (Throwable t) |
58 { |
58 { |
59 Log.logError("InstallerUi.started threw exception", t); |
59 Log.logError( |
|
60 "DlListener: InstallerUi.started threw exception", t); |
60 } |
61 } |
61 } |
62 } |
62 } |
63 } |
63 |
64 |
64 /** Download has progressed. */ |
65 /** Download has progressed. */ |
72 { |
73 { |
73 iInstallerUi.updateProgress(getUiDlInfo(aDlInfo)); |
74 iInstallerUi.updateProgress(getUiDlInfo(aDlInfo)); |
74 } |
75 } |
75 catch (Throwable t) |
76 catch (Throwable t) |
76 { |
77 { |
77 Log.logError("InstallerUi.updateProgress threw exception", t); |
78 Log.logError( |
|
79 "DlListener: InstallerUi.updateProgress threw exception", t); |
78 } |
80 } |
79 } |
81 } |
80 if (iBall.iSifNotifier != null) |
82 if (iBall.iSifNotifier != null) |
81 { |
83 { |
82 Log.log("DlListener.set: update SifNotifier to " + |
84 Log.log("DlListener.set: update SifNotifier to " + |
88 (int)aDlInfo.getCurrentSize(), |
90 (int)aDlInfo.getCurrentSize(), |
89 (int)aDlInfo.getTotalSize()); |
91 (int)aDlInfo.getTotalSize()); |
90 } |
92 } |
91 catch (Throwable t) |
93 catch (Throwable t) |
92 { |
94 { |
93 Log.logError("SifNotifier.notifyProgress threw exception", t); |
95 Log.logError( |
|
96 "DlListener: SifNotifier.notifyProgress threw exception", t); |
94 } |
97 } |
95 } |
98 } |
96 } |
99 } |
97 |
100 |
98 /** Download has ended. */ |
101 /** Download has ended. */ |
105 { |
108 { |
106 iInstallerUi.ended(getUiDlInfo(aDlInfo)); |
109 iInstallerUi.ended(getUiDlInfo(aDlInfo)); |
107 } |
110 } |
108 catch (Throwable t) |
111 catch (Throwable t) |
109 { |
112 { |
110 Log.logError("InstallerUi.ended threw exception", t); |
113 Log.logError( |
|
114 "DlListener: InstallerUi.ended threw exception", t); |
111 } |
115 } |
112 } |
116 } |
113 if (iBall != null) |
117 if (iBall != null) |
114 { |
118 { |
115 String dlInfoStr = "\n" + iDlInfo.toString(); |
119 String dlInfoStr = "\n" + iDlInfo.toString(); |
143 { |
147 { |
144 result = iInstallerUi.getUsernamePassword(aUrl); |
148 result = iInstallerUi.getUsernamePassword(aUrl); |
145 } |
149 } |
146 catch (Throwable t) |
150 catch (Throwable t) |
147 { |
151 { |
148 Log.logError("InstallerUi.getUsernamePassword threw exception", t); |
152 Log.logError( |
|
153 "DlListener: InstallerUi.getUsernamePassword threw exception", t); |
149 } |
154 } |
150 } |
155 } |
151 return result; |
156 return result; |
152 } |
157 } |
153 |
158 |