An exception is an event in software development language, which terminates the program, if the worst program scenarios are not handled properly. Basically in general programming language, we can also say that Exception is a class which is sub class of Throwable class. An exceptions can disturb our script workflow or can terminate the program