📅  最后修改于: 2022-03-11 15:00:06.893000             🧑  作者: Mango
try {
//Code where exception can occur
}
catch(ExceptionTypeA e1) {
//code that executes if Exception of type A occurs
}
catch(ExceptionTypeB e2) {
//code that executes if Exception of type B occurs.
}