Just a curious question if the statement in Try block does raise an error which should usually make application crashes , how does Try Catch avoid it ?
I hope my question was clear
I hope my question was clear
Try
one o more statements
Catch
react to exception
End Try
That's true. All caught exceptions are exceptions that are explicitly thrown from the internal code or by the JVM (null pointer exception for example).If I got KMatle's point , the crash is just an event that get raised by (VM ?) and if you use (try catch), it executes catch block instead.