Solved

How is this possible?

Posted on 2010-11-10
3
278 Views
Last Modified: 2013-11-12
I am trying to get a list of appointments in Groupwise using the interop.Groupware DLL.  Here is a screenshot of what is happening.  How can I have an unhandled exception in a TRY block?

 Try block error
0
Comment
Question by:marketware
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
valkyrie_nc earned 500 total points
ID: 34104074
You're only catching SystemException, and that's a TargetException.

try  
{
// code here
}
catch (SystemException sysex)
{
// handle exception
}
catch (TargetException targex)
{
// handle exception
}
catch (Exception ex)
{
// should catch most of the rest
}

hth

valkyrie_nc
0
 

Author Comment

by:marketware
ID: 34104892
Based on the code above, any idea why I'm getting a TargetException?
0
 
LVL 9

Expert Comment

by:valkyrie_nc
ID: 34105112
To be honest, I have no idea.  My google-fu is apparently weak when it comes to Novell Groupware 'cause I couldn't find anything on their site or on the 'tubes in general.  My guess, however, would be that the filter variable is of the wrong type.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question