Fixed: Doc says TrainException needs to extend Exception, not Throwable.