Its probably a good idea to catch exception in case a class is not found or initialization fails.