I suggest you ...

Make it mandotory to Handle Exceptions...

This suggestion is migrated to Developer Community. Please use below link to view the current status.
I am Computer Engineer from Turkey. Graduated From Istanbul Technical University In 2015.
I was Intern at Microsoft Turkey in 2012 and worked at Sony Turkey, Siemens, Asseco SEE..

My suggestion is make Exception Handling or changing signature mandatory..
For example, if I throw an Exception in my method, I must decleare that this method may throws an Exception so a user can see the type of exceptions that can be thrown from this method.

This is the case in JAVA.
public void getName() throws NullPointerException, IOException{
if I use getName() method in anywhere, compiler tells me that either handle NullPointerException or add throws NullPointerException on your method signature so a user can see the type of the exception that can be thrown.


4 votes
Sign in
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Hasan Kaya shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Password icon
Signed in as (Sign out)

Feedback and Knowledge Base