Exception will be thrown by forName() method: LinkageError , ExceptionInInitializerError , ClassNotFoundException SecurityException .