Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rarexception(3) [php man page]

RAREXCEPTION(3) 							 1							   RAREXCEPTION(3)

The RarException class

INTRODUCTION
This 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 given CLASS SYNOPSIS
RarException 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)

Check Out this Related Man Page

XML::SAX::Exception(3)					User Contributed Perl Documentation				    XML::SAX::Exception(3)

NAME
XML::SAX::Exception - Exception classes for XML::SAX SYNOPSIS
throw XML::SAX::Exception::NotSupported( Message => "The foo feature is not supported", ); DESCRIPTION
This module is the base class for all SAX Exceptions, those defined in the spec as well as those that one may create for one's own SAX errors. There are three subclasses included, corresponding to those of the SAX spec: XML::SAX::Exception::NotSupported XML::SAX::Exception::NotRecognized XML::SAX::Exception::Parse Use them wherever you want, and as much as possible when you encounter such errors. SAX is meant to use exceptions as much as possible to flag problems. CREATING NEW EXCEPTION CLASSES
All you need to do to create a new exception class is: @XML::SAX::Exception::MyException::ISA = ('XML::SAX::Exception') The given package doesn't need to exist, it'll behave correctly this way. If your exception refines an existing exception class, then you may also inherit from that instead of from the base class. THROWING EXCEPTIONS
This is as simple as exemplified in the SYNOPSIS. In fact, there's nothing more to know. All you have to do is: throw XML::SAX::Exception::MyException( Message => 'Something went wrong' ); and voila, you've thrown an exception which can be caught in an eval block. perl v5.18.2 2011-09-14 XML::SAX::Exception(3)
Man Page

6 More Discussions You Might Find Interesting

1. Red Hat

Anaconda Exception: parserError: xmlParseMemory() failed

Any idea what this error meant? I got this error "Anaconda Exception: parserError: xmlParseMemory() failed" while performing kickstart. My linux distro is a redhat4. Thank You. (2 Replies)
Discussion started by: etcpasswd
2 Replies

2. Shell Programming and Scripting

Data Extraction From a File

Hi All, I have a requirement where I have to search the file with some text say "Exception". This exception word can be repeated for more then 10 times. Suppose the "Exception" word is repeated at line numbers say x=10, 50, 60, 120. Now I want to extract all the lines starting from x-5 to... (3 Replies)
Discussion started by: rrangaraju
3 Replies

3. Red Hat

How to open RAR files?

May be this is a newbie question but i want to know hoe to open the RAR file in linux? (1 Reply)
Discussion started by: ashok.g
1 Replies

4. UNIX for Advanced & Expert Users

Exception at interrupt level VxWorks5.5 MPC880

Hello, I am using MPC880 and vxworks5.5.. When i try to boot vxworks image from the flash, its giving the following error message and tries to reboot continuously. Exception at interrupt level: Implementation Dependent Instruction TLB Error Exception current instruction address:... (0 Replies)
Discussion started by: PSB
0 Replies

5. Programming

Advanced Exception Handling in C++

Hi Friend, Could you please provide me with some tutorial for Advanced Exception handling in C++, mainly set_terminate() and set_unexpected() functions? Please find the details below: OS: Unix Compiler: gcc. Thanks. :) Awesome001 (0 Replies)
Discussion started by: awesome001
0 Replies

6. Post Here to Contact Site Administrators and Moderators

Exception to Private Message Limitation

Can you give me help so that I can send pms even though I have less then 10 post? Thanks Kind regards (3 Replies)
Discussion started by: marmellata
3 Replies