---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 9 Edition"
java_version: 9
chapter: "Chapter 2. The Structure of the Java Virtual Machine"
section: "2.11.9"
heading: "2.11.9. Throwing Exceptions"
parent: "2.11. Instruction Set Summary"
source: https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-2.html#jvms-2.11.9
id: "2.11.9"
url: https://jvm.obfuscated.software/jvms/se9/2.11.9.html
raw: https://jvm.obfuscated.software/jvms/se9/2.11.9.md
---

# 2.11.9. Throwing Exceptions

An exception is thrown programmatically using the *athrow* instruction. Exceptions can also be thrown by various Java Virtual Machine instructions if they detect an abnormal condition.
