Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 20th, 2008, 01: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




Similar Threads
Thread Thread Starter Forum Replies Last Post
monitoring remote hosts on JMeter guyabsconding BOOK: Expert One-on-One J2EE Design and Development 1 January 4th, 2015 04:56 AM
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
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 10:09 PM
Apache + Tomcat on different hosts? enigmasoldier BOOK: Professional Apache Tomcat 1 October 3rd, 2005 10:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.