LaunchCode logo
  1. Contents
  2. 16. Rules to the Exceptions

16. Rules to the ExceptionsΒΆ

  • 16.1. Exceptions
    • 16.1.1. When Exceptions Arise
    • 16.1.2. Throwing An Exception
    • 16.1.3. When to Use Exceptions
    • 16.1.4. Check Your Understanding
  • 16.2. Handling Exceptions
    • 16.2.1. Try/Catch/Finally
      • 16.2.1.1. What to Catch
    • 16.2.2. How to Avoid Exceptions
      • 16.2.2.1. Validate User Input
      • 16.2.2.2. Check For null References
    • 16.2.3. Check Your Understanding
  • 16.3. Common Exception Objects
    • 16.3.1. Check Your Understanding
  • 16.4. Exercises: Exceptions
    • 16.4.1. Divide By Zero!
    • 16.4.2. Test Student Labs
  • ← 15.9. Bonus Mission: Merge Conflicts!
  • 16.1. Exceptions →

Back to top