+ Start a Discussion
PossiblePossible 

Governor limit!!!

Is Too many scripts is Governor limit exceed Exception..

If Yes is it gonna go off once application is certified???

 

 

Thanks.

PossiblePossible

How can i catch Too many scripts :200001 exception , i can only see it in the debug logs..but i want to catch and handle it like m handling Callout Exception for 100000 limit exception in my webservice calls.

 

Any Help will be appreciated..

 

Thanks.

aalbertaalbert

You won't be able to catch this governor limit runtime exception as stated here

 

But you can do two helpful things to identify this limit. Use the Limit Apex class and Governor Limit Emails.

By using the Limit apex in your code, you can check if you are close to reaching the limit and throw your own exception to handle.

 


 

 

PossiblePossible
Thanks aalbert..so it goes off once application is certified??
HarmpieHarmpie
Are you sure you don't have some infinite loop in your code? That's what usually causes this limit to be exceeded.
aalbertaalbert
Just to be clear - governor limits are still enforced in certificated applications. There is no difference in governor limits for apex code that runs in a certified app or uncertified app.
PossiblePossible
But is Apex Reference guide , it says governor limits are not applicable for the applications in appexchange .