- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Security

Secure Error Handling for Java Applications
In this lab, you’ll practice and develop skills to implement secure coding techniques in an application. When you’re finished, you’ll have the necessary knowledge and skills to securely implement error handling and logging.

Lab Info
Table of Contents
-
Challenge
User-Friendly Error Messages vs. Developer Messages
This challenge will help you understand how sensitive application information can be leaked to unauthorized users, and you will learn how to reduce that risk through proper management of error messages.
-
Challenge
Prevent Logging Sensitive Data
In this challenge, you will identify data types and apply safe logging practices to protect user information.
-
Challenge
Low Dependency Applications: Creating Custom Error Messages and Handling
In this challenge, you'll explore custom error messages and error handling in a low-dependency Java application.
-
Challenge
High Dependency Applications: Creating Custom Error Messages and Handling
In this challenge, you’ll explore custom error messages and custom handling in a high-dependency Java application.
-
Challenge
Knowledge Check for Secure Error Handling for Java Applications
In this challenge, you will answer a series of assessment questions to test your understanding of the concepts you learned throughout this lab.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.