Query: rarexception
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RAREXCEPTION(3) 1 RAREXCEPTION(3) The RarException classINTRODUCTIONThis class serves two purposes: it is the type of the exceptions thrown by the RAR extension functions and methods and it allows, through static methods to query and define the error behaviour of the extension, i.e., whether exceptions are thrown or only warnings are emitted. The following error codes are used: o -1 - error outside UnRAR library o 11 - insufficient memory o 12 - bad data o 13 - bad archive o 14 - unknown format o 15 - file open error o 16 - file create error o 17 - file close error o 18 - read error o 19 - write error o 20 - buffer too small o 21 - unkown RAR error o 22 - password required but not givenCLASS SYNOPSISRarException final RarExceptionextends Exception Methods o publicstatic bool RarException::isUsingExceptions (void ) o publicstatic void RarException::setUsingExceptions (bool $using_exceptions) Inherited methods o finalpublic string Exception::getMessage (void ) o finalpublic Exception Exception::getPrevious (void ) o finalpublic mixed Exception::getCode (void ) o finalpublic string Exception::getFile (void ) o finalpublic int Exception::getLine (void ) o finalpublic array Exception::getTrace (void ) o finalpublic string Exception::getTraceAsString (void ) o public string Exception::__toString (void ) o finalprivate void Exception::__clone (void ) PHP Documentation Group RAREXCEPTION(3)