8 lines
100 B
Text
8 lines
100 B
Text
try
|
|
{
|
|
foo()
|
|
}
|
|
catch(MyException e)
|
|
{
|
|
// handle exceptions of type MyException and derived
|
|
}
|