Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Windows PowerShell Programming ISBN: 978-0-470-17393-0
This is the forum to discuss the Wrox book Professional Windows PowerShell Programming: Snapins, Cmdlets, Hosts and Providers by Arul Kumaravel, Jon White, Michael Naixin Li, Scott Happell, Guohui Xie, Krishna C. Vutukuri; ISBN: 9780470173930
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Windows PowerShell Programming ISBN: 978-0-470-17393-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 20th, 2008, 12:45 PM
Registered User
 
Join Date: May 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exceptions in Custom Hosts

In my custom host I have implemented the powershell user interface and am sending the powershell outputs to a rich text box. Everything is going great except for exceptions. In the default powershell host all the exceptions thrown by scripts are caught and displayed to the user. However, in my custom host the exceptions crash the app unless I handle them myself. Is there a way to make the powershell engine handle the exceptions in my custom host the same way they are handled††in the default host?

Regards,
H.V
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
what do we mean by virtual hosts ? deepak Apache Tomcat 2 June 22nd, 2008 02:52 AM
mod_jk Load Balancing and Virtual Hosts dfwjava BOOK: Professional Apache Tomcat 0 October 17th, 2007 06:12 PM
monitoring remote hosts on JMeter guyabsconding BOOK: Expert One-on-One J2EE Design and Development 0 March 22nd, 2007 05:50 AM
can the hosts look at our source code? jini BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 9 February 6th, 2007 09:09 PM
Apache + Tomcat on different hosts? enigmasoldier BOOK: Professional Apache Tomcat 1 October 3rd, 2005 10:40 AM



All times are GMT -4. The time now is 06:06 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.