1. A method comprising: creating a template class that stores at least one template parameter; specifying at least one additional object to be created when an instance of the template class is created; initiating the creation of a new instance of the template class using the at least one template parameter; and if an error occurs during the creation of the new instance of the template class, receiving a report identifying the error.