Errors & Exceptions

Android
  • 12 Videos | 46m 13s
  • Includes Assessment
  • Earns a Badge
Likes 8
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 12s
    UP NEXT
  • Playable
    2. 
    Understanding Exception Classes
    4m 9s
  • Locked
    3. 
    Exception Stack Traces
    3m 30s
  • Locked
    4. 
    Testing For Errors
    2m 54s
  • Locked
    5. 
    Creating Custom Exception Classes
    3m 46s
  • Locked
    6. 
    Displaying Errors in Apps
    4m 7s
  • Locked
    7. 
    Working with Underlying Errors
    3m 22s
  • Locked
    8. 
    Releasing Resources
    3m 32s
  • Locked
    9. 
    Assertion Overview
    5m 9s
  • Locked
    10. 
    Java Assert Statements
    3m 23s
  • Locked
    11. 
    Pre and Postconditions, and Invariant Assertions
    3m 54s
  • Locked
    12. 
    Using Annotations Defensively
    4m 15s

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.