You need to sign in to do that
Don't have an account?
asapjim
Developer Console cannot create Exception class
Hi, the Developer Console fails when you try to create a class with the word Exception in the class name. Here's what I have done, clicked on Repository, clicked on Classes, Clicked the New button, entered the name of a class (MyException), Click OK, receive dialog that states New Class Error MyException: Exception class must extend another Exception class.
Is there a workaround for this?
Thanks,
User-defined exception class names must end with the stringexception, such as “MyException”, “PurchaseException” and so on. All exception classes automatically extend the system-defined base classexception
.
please see below link for more info.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_exception.htm