Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
Dreaming in PowerShell
»
All Tags
»
Throw
»
Stacktrace
»
Trap
(
RSS
)
Browse by Tags
Share
|
Recent Posts
Trapping Errors
Archives
May 2012 (3)
April 2012 (3)
December 2011 (1)
November 2011 (1)
October 2011 (2)
September 2011 (2)
August 2011 (1)
June 2011 (1)
May 2011 (2)
April 2011 (2)
March 2011 (3)
February 2011 (3)
January 2011 (2)
November 2010 (5)
October 2010 (5)
September 2010 (2)
August 2010 (1)
March 2010 (1)
January 2010 (3)
September 2009 (2)
August 2009 (1)
July 2009 (1)
May 2009 (2)
March 2009 (1)
February 2009 (1)
January 2009 (3)
December 2008 (1)
November 2008 (8)
October 2008 (3)
September 2008 (1)
Tags
Audio
COM
Convert
Credential
Get-Shortcut
GetType()
Get-WMIObject
OpenWSMan
Parameters
Password
path
performance
ping
Pipeline
PowerShell
Recurse
RegEx
Regular Expression
Remoting
Split
Tag
taglib-sharp.dll
V2
Video
Windows 7
View more
Catch
Error Message
ErrorDetails
Trapping Errors
A lot of people are confused and ask how to correctly trap errors. Let's see how that works. Default Error Handling Whenever an error occurs, a so called "exception" is raised. If noone bothers to "handle" that exception, it finally...
Published
Mon, Sep 09 2008 2:13 PM
by
Tobias Weltner
Filed under:
Error Message
,
ErrorDetails
,
Throw
,
Trap
,
Stacktrace
,
Catch
Copyright 2011 PowerShell.com. All rights reserved.