Index: xotcl/doc/tutorial.html =================================================================== diff -u -r20e421dc641dc39b53106b1296ac7e09d0b206f2 -r99a7a21854051cd691029b15ef8877aa9e86cf44 --- xotcl/doc/tutorial.html (.../tutorial.html) (revision 20e421dc641dc39b53106b1296ac7e09d0b206f2) +++ xotcl/doc/tutorial.html (.../tutorial.html) (revision 99a7a21854051cd691029b15ef8877aa9e86cf44) @@ -1,5 +1,5 @@ - +
$fb check all if {[catch {$fb set playerRole SINGER} errMsg]} { - puts "CATCHED EXCEPTION: playerRole has either to be NONE, PLAYER, or TRAINER" + puts "CAUGHT EXCEPTION: playerRole has either to be NONE, PLAYER, or TRAINER"@@ -4319,7 +4319,7 @@# turn assertion checking off again and reset to PLAYER $fb check {} $fb set playerRole PLAYER @@ -494,7 +494,7 @@ $fb class President# Check that the playerRole isn't there anymore. if {[catch {$fb set playerRole} errMsg]} { - puts "CATCHED EXCEPTION: The player role doesn't exist anymore \ + puts "CAUGHT EXCEPTION: The player role doesn't exist anymore \ (as it should be after the class change)" }
... if {[catch {my assertionBreakingAction} errMsg]} { - puts "CATCHED ERROR: $errMsg" + puts "CAUGHT ERROR: $errMsg"# remember checking options, for turning them on later again set check [my info check] my check {}