Error
and RuntimeException
both are the unchecked exception.
Which one should I extend while creating custom unchecked exception? Though both are logically different , but if my only purpose of extending them is to create unchecked exception , does it really matters which one i extend ? Also I am not sure but performance vice both should be same , i guess.
P.S. I have idea about difference between Error
and Exception
.