Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

Exceptions handling library

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008, 06:54 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Exceptions handling library

Now that Basic4PPC version 6.30 is released I can also release my Exceptions library. Erel has added a new B4PObject(6) that provides access to exception details. Now you can identify the exception and handle it appropriately. Naturally this only works on version 6.30 or later!

The help file includes a description of .NET exceptions and how they are handled in Basic4PPC. The Exceptions library will work on device and desktop and under .NET 1.0/1.1 and 2.0. It will work in the IDE and both legacy and optimised compiled apps.

Exceptions2.dll is a .NET 2.0 only library that is the same as Exceptions but can also return a Stack Trace if required, a facility that needs .NET 2.0. The Exceptions library will be more than adequate for most uses.

EDIT : - Source code for dll merging posted. Put it in your Basic4ppc Deskop\Libraries folder
Attached Files
File Type: zip Exceptions1.0.zip (22.8 KB, 373 views)
File Type: zip ExceptionsSource1.0.zip (789 Bytes, 211 views)

Last edited by agraham : 05-28-2008 at 11:51 AM.
Reply With Quote
  #2 (permalink)  
Old 05-14-2008, 07:32 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Really great work Andrew!
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #3 (permalink)  
Old 05-14-2008, 08:40 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by dzt View Post
Really great work Andrew!
Thanks Dimitris I've wanted some better exception handling for a while now and luckily Erel agreed with my suggestion as to how to do it and put it in version 6.30.
Reply With Quote
  #4 (permalink)  
Old 05-15-2008, 05:45 AM
Senior Member
 
Join Date: Apr 2008
Location: Duesseldorf, Germany
Posts: 154
Default

Thanks for that !

regards

TWELVE
Reply With Quote
  #5 (permalink)  
Old 05-15-2008, 09:35 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Thank you for this very important library.
Reply With Quote
  #6 (permalink)  
Old 05-28-2008, 11:52 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Source code for dll merging posted in original post.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port handling mjcoon Questions (Windows Mobile) 5 06-26-2008 10:48 AM
CryptoEx and Exceptions manuals are online Erel Announcements 0 05-17-2008 01:20 PM
Error handling in Basic4PPC TWELVE Questions (Windows Mobile) 8 05-14-2008 06:56 PM
Exceptions encountered agraham Bug Reports 17 07-27-2007 09:24 PM
Exception Handling Astragali Questions (Windows Mobile) 2 05-23-2007 12:44 AM


All times are GMT. The time now is 10:36 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0