Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
May be the debugger is drunk...? If anyone can validate this phenomenon of null exception object, let me now...
-
lotd79227yIn that case, the typehint would fail, thus the exception wouldn't get caught in the first place?
-
Never heard that before! If there is no exception, then does that mean there is no error?
-
xsid35077yThey say you get exception null when variable name are same..
https://stackoverflow.com/questions... -
loopback5737yWhy don't you infinitely try and catch your exceptions?
E.g:
try
{
//Code
}
try
{
catch (Exception e)
}
Etc?
It would make your code bulletproof, readable and concise... Win win!
Related Rants
By someone who reviewed my code. "Put a null check in the catch block for the exception....cuz some times exception itself might be null..."
And by that he/she means,
catch (Exception e){
if (e != null) {....}
}
undefined
w66
java
android