Adapted expected exception type to [1785].
Authored by: cmlenz 2005-06-20
Parent: [r1826]
Child: [r1828]