Errors & Exceptions

Android    |    Intermediate
  • 12 Videos | 45m 38s
  • Includes Assessment
  • Earns a Badge
Likes 14 Likes 14
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 programming
    use the Java exception classes
    use exception stack traces
    test for specific kinds of errors based on domain and code
    create custom Java error classes
    inform end users of error information in an Android app
  • use an underlying error object to find out more detail about an error that has occurred
    release Java resources in the event of an exception
    describe the use of assertions for defensive programming in Java for Android
    use basic assert statements in Java for Android
    identify and use precondition, postcondition and invariant assertions
    use annotations to aid in programming defensively for Android

IN THIS COURSE

  • Playable
    1. 
    Understanding Errors and Exceptions
    4m 9s
    UP NEXT
  • Playable
    2. 
    Understanding Exception Classes
    4m 6s
  • Locked
    3. 
    Exception Stack Traces
    3m 27s
  • Locked
    4. 
    Testing For Errors
    2m 51s
  • Locked
    5. 
    Creating Custom Exception Classes
    3m 43s
  • Locked
    6. 
    Displaying Errors in Apps
    4m 4s
  • Locked
    7. 
    Working with Underlying Errors
    3m 19s
  • Locked
    8. 
    Releasing Resources
    3m 29s
  • Locked
    9. 
    Assertion Overview
    5m 6s
  • Locked
    10. 
    Java Assert Statements
    3m 20s
  • Locked
    11. 
    Pre and Postconditions, and Invariant Assertions
    3m 51s
  • Locked
    12. 
    Using Annotations Defensively
    4m 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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 46 Likes 46  
Likes 10 Likes 10  
Likes 101 Likes 101