Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.882.235 Times

Exception::System 0.0601

  Date Added: March 20, 2010  |  Visits: 651

Exception::System

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)



Exception::System is the exception class for system or library calls. SYNOPSIS # Loaded automatically if used as Exception::Bases argument use Exception::Base Exception::System, Exception::File => { isa => Exception::System }; try Exception::Base eval { my $file = "/notfound"; open FILE, $file or throw Exception::File message=>"Can not open file: $file", file=>$file; }; if (catch Exception::System my $e) { if ($e->isa(Exception::File)) { warn "File error:".$e->{errstr}; } if ($e->with(errname=>ENOENT)) { warn "Catched not found error"; } } This class extends standard Exception::Base with handling system or library errors. The additional fields of the exception object are filled on throw and contain the error message and error codes. FIELDS Class fields are implemented as values of blessed hash. errstr (ro) Contains the system error string fetched at exception throw. It is the part of the string representing the exception object. It is the same as $! variable in string context. eval { throw Exception::System message=>"Message"; }; catch Exception::System my $e and print $e->{errstr}; errstros (ro) Contains the extended system error string fetched at exception throw. It is the same as $^E variable. eval { throw Exception::System message=>"Message"; }; catch Exception::System my $e and $e->{errstros} ne $e->{errstr} and print $e->{errstros}; errno (ro) Contains the system error number fetched at exception throw. It is the same as $! variable in numeric context. eval { throw Exception::System message=>"Message"; }; errname (ro) Contains the system error constant from the system error.h include file. eval { throw Exception::System message=>"Message"; }; catch Exception::System my $e and $e->{errname} eq ENOENT and $e->throw; METHODS stringify([$verbosity[, $message]]) Returns the string representation of exception object. The format of output is "message: error string". eval { open F, "/notexisting"; throw Exception::System; }; print $@->stringify(1); print "$@";.

Requirements: No special requirements
Platforms: Linux
Keyword: E- Error Exception Exceptionsystem Libraries Message Programming System System Error Throw
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


EXCEPTION::SYSTEM RELATED
Education  -  Programming Evaluation System 1.0
Programming Evaluation System, helps writing evaluations and marking students, includes an IDE for Java, C and Pascal.
675.84 KB  
Libraries  -  Getopt::Plus 0.98
Getopt::Plus is a Perl module with options wrapper with standard options, help system and more. FILE_SIZE_HUMAN Map from file size in bytes to human name, as hashref, keys being name (full name, lowercase, no trailing s) and abbrev...
47.1 KB  
Libraries  -  CrashRpt.CPP 2.0.15
A crash/exception reporting library for C++ native Windows apps. It automatically creates and sends crash/error/exception reports with stack trace, minidump and extended application/system information to Doctor Dump free crash reporting and...
1.96 MB  
Communication  -  BER of BPSK DS-SS System 1.0
This m-file finds the bit error rate performance of BPSK DS-SS system over (i) AWGN channel and (ii) Slow Rayleigh fading channel corrupted by AWGN. Compare the performance with simple BPSK system.In this simulation I have used two functions.So to...
10 KB  
Libraries  -  libgpg-error 1.4
libgpg-error package contains common error codes and error handling functions used by GnuPG, Libgcrypt, GPGME and more packages. Installation: Please read the file INSTALL! Here is a quick summary: 1) Check that you have unmodified...
614.4 KB  
Content Management  -  e-Vision CMS 2.1
e-Vision CMS is a Web Content Management System written in PHP, with MySQL database backend. It runs on Linux and Windows (with Apache). The e-Vision CMS powered website can be designed and used with no technical background. Features: CSS, WYSIWYG...
 
Content Management  -  e-Vision CMS for Scripts 2.1
e-Vision CMS is a Web Content Management System written in PHP, with MySQL database backend. It runs on Linux and Windows (with Apache).The e-Vision CMS powered website can be designed and used with no technical background.Features: CSS, WYSIWYG...
409.6 KB  
Network & Internet  -  KiweeCommerce 1.0.0
KiweeCommerce software is a full-featured but easy to use e-Commerce solution for the MODx content management system..
409.6 KB  
Finance  -  SharePoint Outlook Integration 2.0 2.0.715.4
This SharePoint Outlook enhancement conveniently integrates Microsoft Outlooks with SharePoint's libraries and lists, providing a foundation for transfer of crucial e-mail to specified libraries. In a Management position, SharePoint Outlook...
14.25 MB  
Application Add-Ins  -  e-Zvit 1.0
"e-Zvit" reporting server is an Open Source system for sending in, saving and analizing of reporting forms. Any tall structure of reporting organizations can use "e-Zvit" system for working with blanks made in MS Excel(with the XLS extension). The...
600 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB