Errors & Exceptions

Android    |    Intermediate
  • 12 videos | 45m 38s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 61 users Rating 4.7 of 61 users (61)
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

  • 4m 9s
    After completing this video, you will be able to recognize how errors and exceptions can be used in defensive programming. FREE ACCESS
  • 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.

YOU MIGHT ALSO LIKE

Rating 4.0 of 7 users Rating 4.0 of 7 users (7)
Rating 4.4 of 34 users Rating 4.4 of 34 users (34)
Rating 4.4 of 15 users Rating 4.4 of 15 users (15)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 249 users Rating 4.6 of 249 users (249)
Rating 4.7 of 44 users Rating 4.7 of 44 users (44)
Rating 4.5 of 11 users Rating 4.5 of 11 users (11)