try {
// statements with possible exceptions
} catch (datatype1 identifier1) {
// statements run if a datatype1 exception is encountered above
} catch (datatype2 identifier2) {
// statements run if a datatype2 exception is encountered above
} catch (...) {
// statements run if exception other than those listed is encountered
}