Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VDrift crashes if the car hits an object real hard!
11-02-2006, 10:37 PM,
#9
 
The error class should also contain the file and line that did the throwing, and those should be settable in the constructor so we can do something like:

throw EXCEPTION(__FILE__, __LINE__, "Some descriptive text!");

I did this for another project and it's very handy.
Reply


Messages In This Thread
[No subject] - by thelusiv - 10-29-2006, 06:13 PM
[No subject] - by RJARRRPCGP - 10-29-2006, 06:16 PM
[No subject] - by thelusiv - 10-30-2006, 12:53 AM
[No subject] - by cotharyus - 10-30-2006, 07:11 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-31-2006, 02:25 AM
[No subject] - by thelusiv - 10-31-2006, 04:16 AM
[No subject] - by thelusiv - 11-02-2006, 12:10 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-02-2006, 10:37 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-04-2006, 03:13 PM
[No subject] - by thelusiv - 11-05-2006, 02:47 AM
[No subject] - by RJARRRPCGP - 03-01-2011, 06:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)