Skip to main content
9 events
when toggle format what by license comment
Apr 23, 2014 at 17:49 vote accept MCHam
Apr 23, 2014 at 17:21 answer added DavidSchach timeline score: 4
Apr 23, 2014 at 16:37 comment added MCHam All the constructor is doing is setting the Id. This is what my constructor looks like: public OppAlert(ID opp){ oppId = opp; }
Apr 23, 2014 at 16:36 comment added Richard N As Doug mentioned, can you post the code for your Alert class?
Apr 23, 2014 at 16:19 comment added crmprogdev It appears to me, based on how you have your brackets are set up, including having logic within a for loop containing your Select Query, it could very well be that you could have an invalid ID exception thrown before it can be trapped by your catch block. You may need to set up the try-catch differently.
Apr 23, 2014 at 16:14 history edited crmprogdev CC BY-SA 3.0
adjusted code for bracket/indent matching so could be more readily understood
Apr 23, 2014 at 16:05 comment added cropredy Less likely, but possible, is if in DC your Apex Code log level is INFO or higher - then the debug message won't appear
Apr 23, 2014 at 16:01 comment added Doug B What does the constructor method of your Alert class look like? It could be the exception is happening there rather than in the createAlert function.
Apr 23, 2014 at 15:55 history asked MCHam CC BY-SA 3.0