Changeset 12299
- Timestamp:
- 12/18/09 22:12:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/Java.java
r12298 r12299 216 216 error(new LispError("illegal argument")); 217 217 } 218 catch (Throwable t) { 218 catch (Throwable t) { // no code -> no ControlTransfer 219 219 error(new LispError(getMessage(t))); 220 220 } … … 283 283 throw e; 284 284 } 285 catch (Throwable t) { 285 catch (Throwable t) { // ControlTransfer addressed above 286 286 error(new LispError(getMessage(t))); 287 287 } … … 341 341 throw e; 342 342 } 343 catch (Throwable t) { 343 catch (Throwable t) { // ControlTransfer addressed above 344 344 error(new LispError(getMessage(t))); 345 345 } … … 394 394 return JavaObject.getInstance(result, translate); 395 395 } 396 catch (Throwable t) { 396 catch (ControlTransfer c) { 397 throw c; 398 } 399 catch (Throwable t) { // ControlTransfer handled above 397 400 if (t instanceof InvocationTargetException) 398 401 t = t.getCause(); … … 459 462 return JavaObject.getInstance(constructor.newInstance(initargs)); 460 463 } 461 catch (Throwable t) { 464 catch (ControlTransfer c) { 465 throw c; 466 } 467 catch (Throwable t) { // ControlTransfer handled above 462 468 if (t instanceof InvocationTargetException) 463 469 t = t.getCause(); … … 495 501 return JavaObject.getInstance(Array.newInstance(c, dimensions)); 496 502 } 497 catch (Throwable t) { 503 catch (Throwable t) { // no code -> no ControlTransfer 498 504 error(new JavaException(t)); 499 505 } … … 515 521 ((Integer)args[args.length - 1].javaInstance()).intValue()), translate); 516 522 } 517 catch (Throwable t) { 523 catch (Throwable t) { // no code -> no ControlTransfer 518 524 Symbol condition = getCondition(t.getClass()); 519 525 if (condition == null) … … 573 579 return v; 574 580 } 575 catch (Throwable t) { 581 catch (Throwable t) { // no code -> no ControlTransfer 576 582 Symbol condition = getCondition(t.getClass()); 577 583 if (condition == null) … … 654 660 throw t; 655 661 } 656 catch (Throwable t) { 662 catch (Throwable t) { // ControlTransfer handled above 657 663 if (t instanceof InvocationTargetException) 658 664 t = t.getCause();
Note: See TracChangeset
for help on using the changeset viewer.