Exception testing
Exceptions are important too
testException path-5 \ "Throw exception on null" { set p [java::new \ tutorial.tcltk98.GoodPath] $p append [java::null]} java.lang.NullPointerException
- Note use of java::null to generate a Java null
- java::isnull can be used to test for a Java null