Antwort How do you catch a specific exception? Weitere Antworten – How do you catch an exception
Place any code statements that might raise or throw an exception in a try block, and place statements used to handle the exception or exceptions in one or more catch blocks below the try block. Each catch block includes the exception type and can contain additional statements needed to handle that exception type.Put catch blocks […]