CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Ignore Error

  1. #1
    Join Date
    Jun 2016
    Posts
    30

    Ignore Error

    Hi,

    I call a class which in turn inherits an API class. That class calls another class which returns a value.

    Class1 calls Class2.
    Class2 inherits Class3.
    Class3 calls Class4 that returns a value. The input to return the value is null. However, Class3 and Class4 are wrapped in an API. So you cant edit it.So it throws an error in Class1. How do I ignore this error?

    Thanks

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Ignore Error

    If class 4 'throws an error', then wrap the class 4 calls in try/catch blocks and catch the exceptions.

  3. #3
    Join Date
    Jun 2016
    Posts
    30

    Re: Ignore Error

    I think I should add an licx file. How do I go about it? Please help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured