Handle exceptions without a stacktrace. Update test program.