Featured resource
Forrester Wave Report 2025
Pluralsight named a Leader in the Forrester Wave™

Our tech skill development platform earned the highest scores possible across 11 criteria.

Learn more
  • Labs icon Lab
  • Security
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 55m
Published
Clock icon May 30, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Getting Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. 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.

  3. Challenge

    Prevent Logging Sensitive Data

    In this challenge, you will identify data types and apply safe logging practices to protect user information.

  4. 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.

  5. 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.

  6. 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.

Tim Coakley is a Senior Security Solutions Architect for a large multi-national organisation and an author at PluralSight. Tim started a long and successful full-time career in Digital Forensics supporting the criminal justice system and law enforcement on a long list of criminal cases.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.