Revision 35350
branches/v2_0_0_prep/frameworks/_fwAndami/src/org/gvsig/andami/messages/NotificationManager.java | ||
---|---|---|
53 | 53 |
import org.slf4j.LoggerFactory; |
54 | 54 |
|
55 | 55 |
import org.gvsig.andami.PluginServices; |
56 |
import org.gvsig.tools.exception.BaseException; |
|
57 |
import org.gvsig.tools.exception.BaseRuntimeException; |
|
58 | 56 |
import org.gvsig.tools.exception.IBaseException; |
59 | 57 |
|
60 | 58 |
|
... | ... | |
273 | 271 |
|
274 | 272 |
public static void addError(Throwable e1) { |
275 | 273 |
if( e1 instanceof IBaseException ) { |
276 |
BaseException ex = (BaseException) e1;
|
|
274 |
IBaseException ex = (IBaseException) e1;
|
|
277 | 275 |
String msg; |
278 | 276 |
try { |
279 | 277 |
msg = ex.getLocalizedMessageStack(); |
... | ... | |
284 | 282 |
msg = ex.getMessage(); |
285 | 283 |
} |
286 | 284 |
} |
287 |
addError(msg, ex);
|
|
285 |
addError(msg, e1);
|
|
288 | 286 |
} else { |
289 | 287 |
addError(e1.toString(), e1); |
290 | 288 |
} |
Also available in: Unified diff