Plange


handle any exceptions thrown within the preceding try block

Example

try {
	open("test.txt");
} catch (File.NotFoundException) {
	print("test.txt was not found in the working directory);
} finally {
	print("done");
}
			

See: try, finally

See also: try (syntax)


copyright © Brent Lewis 2017