Closed GauravGangwarZomato closed 5 years ago
OutOfMemoryError is a subclass of Error which is a Throwable but not an Exception hence it is not caught in the Try Catch block.
OutOfMemoryError is a subclass of Error which is a Throwable but not an Exception hence it is not caught in the Try Catch block.