User Tag List

Results 1 to 3 of 3

Thread: Null Object - Lack of error catching?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    knpmaster's Avatar
    Join Date
    Jul 2007
    Location
    Cinnaminson NJ
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Null Object - Lack of error catching?

    hello hello.

    In the flash runtime you can throw null object pointer exceptions where as in the c++ runtime those exceptions are caught and you don't see any errors.

    For example: I have an always event that scrolls the screen to a position based on an object. When that object no longer exists, the screen goes to 0,0 and a null pointer is thrown in the flash runtime. In the c++ runtime there is no error and the screen stays where it was when the object existed.

    This is possibly lack of error catching in the flash runtime? Will this be fixed?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Null Object - Lack of error catching?

    Can you send me an example? This is not normal.

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Null Object - Lack of error catching?

    Quote Originally Posted by knpmaster
    In the flash runtime you can throw null object pointer exceptions where as in the c++ runtime those exceptions are caught and you don't see any errors.
    No, those exceptions are not "caught" in the c++ runtime, they're never thrown in the first place.

Similar Threads

  1. Catching up
    By Francois in forum HTML5 Export Module 2.5
    Replies: 0
    Last Post: 1st August 2012, 08:47 AM
  2. Catching exceptions from DLLs in an extension?
    By Dines in forum Extension Development
    Replies: 6
    Last Post: 21st March 2011, 05:23 PM
  3. Binary and null :(
    By Tomek in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th February 2010, 12:13 PM
  4. Catching a button click
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 10th January 2008, 04:17 PM

Posting Permissions

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