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
    After completing this video, you will be able to recognize how errors and exceptions can be used in defensive programming. FREE ACCESS
  • Playable
    2.  Understanding Exception Classes
    4m 6s
    In this video, you will learn how to use the Java exception classes. FREE ACCESS
  • Locked
    3.  Exception Stack Traces
    3m 27s
    In this video, you will use exception stack traces. FREE ACCESS
  • Locked
    4.  Testing For Errors
    2m 51s
    Find out how to test for specific kinds of errors based on domain and code. FREE ACCESS
  • Locked
    5.  Creating Custom Exception Classes
    3m 43s
    In this video, you will learn how to create custom Java error classes. FREE ACCESS
  • Locked
    6.  Displaying Errors in Apps
    4m 4s
    How to inform end users of error information in an Android app. FREE ACCESS
  • Locked
    7.  Working with Underlying Errors
    3m 19s
    In this video, you will use an underlying error object to find out more detail about an error that has occurred. FREE ACCESS
  • Locked
    8.  Releasing Resources
    3m 29s
    Find out how to release Java resources if an exception occurs. FREE ACCESS
  • Locked
    9.  Assertion Overview
    5m 6s
    After completing this video, you will be able to describe the use of assertions for defensive programming in Java for Android. FREE ACCESS
  • Locked
    10.  Java Assert Statements
    3m 20s
    During this video, you will learn how to use basic assert statements in Java for Android. FREE ACCESS
  • Locked
    11.  Pre and Postconditions, and Invariant Assertions
    3m 51s
    During this video, you will learn how to identify and use preconditions, postconditions, and invariant assertions. FREE ACCESS
  • Locked
    12.  Using Annotations Defensively
    4m 12s
    In this video, find out how to use annotations to help you program defensively for Android. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, 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 2849 Likes 2849  
Likes 2025 Likes 2025  
Likes 215 Likes 215