Question: what is the difference between throwable and exception in java?
Answer: Throwable is an interface, not a class. Two classes extend Throwable, Exception and Error. The rule is: be as specific as you can when catching exceptions - that means for example catching Exception instead of Throwable, and IOException instead of Exception. Don't catch Errors - errors are bugs.