Unexpected Exception
When Python runs a script and an uncatched exception is raised, a traceback is printed and the script is terminated. Python2.1 has introduced sys.excepthook, which can be used to override the handling of uncaught exceptions. This script allows to automatically start the debugger on an unexpected...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Automatically start the debugger on an exception Download |
Freerails project is a multiplayer RTS game inspired by Sid Meiers classic Railroad Tycoon. FreeRails is a multiplayer RTS game inspired by Sid Meiers classic Railroad Tycoon. Development activity is currently focused on completing the feature set and adding AI players. To run the binary...
Platforms: *nix
License: Freeware | Size: 1.6 MB | Download (104): Freerails Download |
Test::Exception is a Perl module to test exception based code. SYNOPSIS use Test::More tests => 5; use Test::Exception; # or if you dont need Test::More use Test::Exception tests => 5; # then... # Check that something died dies_ok { $foo->method1 } expecting to die; # Check that...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (97): Test::Exception Download |
Java::JCR::Exception is a Perl wrapper for repository exceptions. SYNOPSIS eval { my $node = $root->add_node(foo, nt:unstructured); }; if ($@) { print STDERR "Failed to add node foo: $@n"; } This class is used to make the exceptions thrown from the Java code work more nicely in Perl....
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (94): Java::JCR::Exception Download |
Exception::Class::TryCatch is a syntactic try/catch sugar for use with Exception::Class. SYNOPSIS use Exception::Class::TryCatch; # simple usage of catch() eval { Exception::Class::Base->throw(error) }; catch my $err and warn $err->error; # catching only certain types or else...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (88): Exception::Class::TryCatch Download |
Exception::Class is a Perl module that allows you to declare real exception classes in Perl. SYNOPSIS use Exception::Class ( MyException, AnotherException => { isa => MyException }, YetAnotherException => { isa => AnotherException, description => These exceptions are related to IPC },...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (91): Exception::Class Download |
Exception::Class::TCF is a Java/C++ style exception handling. SYNOPSIS try BLOCK [ [catch] NAME FUN_REF ]* throw [ EXCEPTION LIST ] package EnclosureException; @ISA = qw(Exception::Class::TCF); package main; use Exception::Class::TCF; try { if ($Lost) { throw new...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (88): Exception::Class::TCF Download |
This script uses as example Minesweeper that expects the user to enter properly bounded integers for moves. If the user enters something unexpected, the resulting exception can be caught and handled in some way other than exiting.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (62): Using try/except unexpected input Download |
This scrip represents a tool for turning exception handling into functional alternation. try..except clauses make Python source code often clumsy and impact the readablity. This script presents a simple functional approach to work with exceptions and finalizations - applicable in a majority of...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Functional exception handling Download |
CPU overloads are generally a result of unexpected events or trying to do too much with too little. The default configuration of the xPC Target real-time kernel will stop model execution when a CPU overload is detected. This guarantees hard real-time performance. Nevertheless, it is possible to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 204.8 KB | Download (42): xPC Target CPU Overloads Download |
cexcept (pronounced "see except" in English) is a package providing a Try/Catch/Throw exception handling interface for ANSI C (C89 and subsequent ISO standards). It does not attempt to handle "real" exceptions like floating-point exceptions or addressing exceptions; cexcept is intended as an...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (101): cexcept Download |
Bio::Root::Object is a core Perl 5 object. SYNOPSIS # Use this module as the root of your inheritance tree. Object Creation require Bio::Root::Object; $dad = new Bio::Root::Object(); $son = new Bio::Root::Object(-name => Junior, -parent => $dad, -make => full); See the new() method...
Platforms: *nix
License: Freeware | Size: 4.7 MB | Download (102): Bio::Root::Object Download |
libxcpc library implements an automatic resource cleanup and exception handling in C. Error handling and cleanup code (at least for code that does error handling) can take quite some space in terms of lines of code to be written. This not only increases the binary size, but makes the code more...
Platforms: *nix
License: Freeware | Size: 389.12 KB | Download (94): libxcpc Download |
Luka is an exception handling and reporting framework. SYNOPSIS use Error qw(:try); use Luka; try { $ftp->login("someuser", "somepass") || throw Luka::Exception::External ( error => $ftp->message . $@, id => "login", context => "FTP error: couldnt login", severity => 3, args =>...
Platforms: *nix
License: Freeware | Size: 36.86 KB | Download (97): Luka Download |
ExceptionContainer script is an Exception base-class that supports keyword arguments and printing.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): ExceptionContainer Download |
If you want to log exceptions, this script offers you a simple way to do so without having to explicitly repetitiously call the logger in each try-except clause.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Simple exception logging Download |
This script provides functions for formatting exceptions and stack traces so that they are guaranteed to fit in a single line and contain only chars in specified encoding. It is very useful for logging and handling dead end exceptions.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Formats current exception with stack trace Download |
PyCrash is a Run-Time Exception Dumper which handles uncaught exceptions during the execution of Python programs and collects information about the program context. PyCrash can be very useful in report bug information, because the programmer can easily analyse the program execution context of the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (71): PyCrash 0.4pre3 Download |
This package contains exception interfaces and implementations which are so general purpose that they don't belong in Zope application-specific packages.
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (35): zope.exceptions Download |
Error::TryCatch is a Perl module that implements exception handling (try-catch) blocks functionality with an interface similiar to Error.pm (in fact, it's almost a drop-in replacement). The main difference is that it's a source filter module. As a source filter it can implement the same...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (33): Error::TryCatch Download |