Exceptions

suggest change

Add ‘exception’ as a suffix

Custom exception names should be suffixed with “-Exception”.

Below are correctly named exceptions:

public class MyCustomException : Exception
public class FooException : Exception

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents