January 2015
Intermediate to advanced
472 pages
9h 23m
English
CHAPTER 24
![]()
An Advanced Syntax Summary
When you learn a new programming language, it is very useful to have a cheat sheet to check quickly the main instructions and the syntax. Here’s the summary of syntax we have learned until now.
Exceptions and Errors
Table 24-1 lists the exception management cheat sheet and some examples of use. In Tables 24-2 and 24-3 you can see the Exception and Error types supported in Dart.
Table 24-1. Exception Management Cheat Sheet
EXCEPTION MANAGEMENT | |
|---|---|
throw | To throw exceptions |
try {}, on {}, catch {} | To catch exceptions |
finally {} | To execute a code snippet always, occurs or not an exception |
Table 24-2. Exception Types Cheat ...
Read now
Unlock full access