Error Handling Course

This course describes how poor error handling can be exploited and possible mitigations for this problem.

58 minutes

Course description

Handling potential errors in code is essential to protecting against many of the attacks described in this learning path. However, developers need to maintain a careful balance between providing too much and too little information in error messages. This course describes how going too far in one direction or another can leave an application vulnerable to attack.


Poor Error Handling Demo

Video - 00:03:00

This video demonstrates exploitation of poor error handling.
Handling Errors Properly

Video - 00:07:00

This video describes how to handle errors properly.
Error Handling Case Study

Video - 00:03:00

This video describes a case study of an application that handles errors poorly.
Exploiting Poor Error Handling

Video - 00:03:00

This video describes how poor error handling can be exploited by an attacker.
Poor Error Handling

Video - 00:07:00

This video describes how poor error handling can make an application vulnerable to attack.
Introduction to Errors

Video - 00:02:00

This video covers the fundamentals of errors.
Introduction to Error Handling

Video - 00:02:00

This video provides an introduction to the error handling course.
Secure Coding - Java

Lab - 00:30:00

Java is a high-level, general-purpose programming language that, once compiled, can run on any Java Virtual Machine (JVM), regardless of the underlying infrastructure. Except for the Write Once, Run Anywhere (WORA) advantage, Java also provides automatic memory management, thread management, automatic garbage collection, and a powerful cross-platform library. These benefits combined have made Java one of the most preferred programming languages, especially for client-server web applications.

Meet the author

Howard Poston

Howard Poston is a copywriter, author, and course developer with experience in cybersecurity and blockchain security, cryptography, and malware analysis. He has an MS in Cyber Operations, a decade of experience in cybersecurity, and over five years of experience as a freelance consultant providing training and content creation for cyber and blockchain security. He is also the creator of over a dozen cybersecurity courses, has authored two books, and has spoken at numerous cybersecurity conferences. He can be reached by email at or via his website at

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Associated NICE Work Roles

All Infosec training maps directly to the NICE Workforce Framework for Cybersecurity to guide you from beginner to expert across 52 Work Roles.

  • Cyber Operator
  • Law Enforcement / Counterintelligence Forensics Analyst
  • Cyber Defense Forensics Analyst

Plans & pricing

Infosec Skills Personal

$299 / year

  • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Custom certification practice exams (e.g., CISSP, Security+)
  • Skill assessments
  • Infosec peer community support

Infosec Skills Teams

$799 per license / year

  • Team administration and reporting
  • Dedicated client success manager
  • Single sign-on (SSO)
    Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
  • Integrations via API
    Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
  • 190+ role-guided learning paths and assessments (e.g., Incident Response)
  • 100s of hands-on labs in cloud-hosted cyber ranges
  • Create and assign custom learning paths
  • Custom certification practice exams (e.g., CISSP, CISA)
  • Optional upgrade: Guarantee team certification with live boot camps

Learn about scholarships and financing with

Affirm logo

Award-winning training you can trust