📅  最后修改于: 2022-03-11 14:59:34.253000             🧑  作者: Mango
Generally JVM throws the exception and
we handle the exceptions by
using try catch block. But there are
situations where we have to throw
userdefined exceptions or runtime exceptions.
In such case we use throw keyword
to throw exception explicitly.
Syntax : throw throwableInstance;