RarException::setUsingExceptions

Description

If and only if the argument is TRUE, then, instead of emitting warnings and returning a special value indicating error when the UnRAR library encounters an error, an exception of type RarException will be thrown.

Exceptions will also be thrown for the following errors, which occur outside the library (their error code will be -1):

attempting some operations on a closed RarArchive object or a RarEntry object relative to the first;