Encapsulated all Template constructor and setDocument exceptions with DocumentLoadExceptions.