Pregunta de entrevista de State Street

Why would you extend a Throwable? (Java)

Respuesta de la entrevista

Anónimo

14 de dic de 2017

It depends on whether you mean directly implementing the Throwable *interface*, or if you mean extending *a* Throwable. There are different semantics for each.