Errors & Exceptions
Android
| Intermediate
- 12 Videos | 45m 38s
- Includes Assessment
- Earns a Badge
Creating apps that are easily testable is one technique of defensive programming in Android. Explore errors and exception handling, and how to use assertions and annotations in your apps.
WHAT YOU WILL LEARN
-
recognize how errors and exceptions can be used in defensive programminguse the Java exception classesuse exception stack tracestest for specific kinds of errors based on domain and codecreate custom Java error classesinform end users of error information in an Android app
-
use an underlying error object to find out more detail about an error that has occurredrelease Java resources in the event of an exceptiondescribe the use of assertions for defensive programming in Java for Androiduse basic assert statements in Java for Androididentify and use precondition, postcondition and invariant assertionsuse annotations to aid in programming defensively for Android
IN THIS COURSE
-
1.Understanding Errors and Exceptions4m 9sUP NEXT
-
2.Understanding Exception Classes4m 6s
-
3.Exception Stack Traces3m 27s
-
4.Testing For Errors2m 51s
-
5.Creating Custom Exception Classes3m 43s
-
6.Displaying Errors in Apps4m 4s
-
7.Working with Underlying Errors3m 19s
-
8.Releasing Resources3m 29s
-
9.Assertion Overview5m 6s
-
10.Java Assert Statements3m 20s
-
11.Pre and Postconditions, and Invariant Assertions3m 51s
-
12.Using Annotations Defensively4m 12s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.