promotional bannermobile promotional banner

Throw An Exception

Throw Java exceptions like tridents and crash your game on impact!

Throw An Exception

Throw Java exceptions like tridents and crash your game on impact!

Ever wanted to throw a NullPointerException at your friend? Now you can.

Throw An Exception adds almost 200 different Java exceptions as throwable weapons. Each exception can be thrown like a trident — charge it up, aim, and release. Hit a mob? It takes damage. Hit the ground? Your game crashes.

Just like real Java programming.


🔥 Features

  • 200+ Java exceptions — from NullPointerException to IOException and everything in between
  • Charged throwing — hold right-click to charge, release to throw (just like a trident)
  • Damage scales with charge time — longer charge = more damage
  • Hit mobs — deal damage based on how long you charged
  • Hit the ground — 💥 game crashes instantly
  • Custom enchantments@SuppressWarnings, @Deprecated, .printStackTrace(), @Inject, @Nullable
  • Catch Scrolls — temporarily catch specific exceptions and prevent crashes
  • All 200+ exceptions have their own item models and textures

🧙 Why?

This mod is a love letter (and a middle finger) to Java developers everywhere.
Every Java programmer knows the pain of NullPointerException. Now you can weaponize it.

Inspired by the frustration of debugging at 3 AM.


📖 Requirements

  • Fabric
  • Fabric API
Minecraft Version Supported
1.20.1
1.21+ Coming soon

⚠️ Warning

This mod will crash your game when exceptions hit the ground.
Use with caution. Don't blame us for lost progress — blame Java.

"It's not a bug, it's a feature."


gl and hf
xD

The Throw An Exception Team

profile avatar
  • 2
    Projects
  • 2.6K
    Downloads

More from driver166

  • Better Crash Reports project image

    Better Crash Reports

    A mod which aims to improve the Minecraft Crash Report so that it will be clearer to know what the error is and why it happens.

    • 2.5K
    • August 13, 2026
  • Better Crash Reports project image

    Better Crash Reports

    A mod which aims to improve the Minecraft Crash Report so that it will be clearer to know what the error is and why it happens.

    • 2.5K
    • August 13, 2026