Files
freeCodeCamp/guide/arabic/java/throw-keyword/index.md
2018-10-16 21:32:40 +05:30

16 lines
615 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Throw
localeTitle: يرمي
---
## يرمي
يتم استخدام الكلمة الأساسية throw Java لرمي استثناء بشكل صريح.يمكنك التخلص من الاستثناء المحدد أو غير المحظوظ في java بإلقاء الكلمة الرئيسية. يتم استخدام الكلمة الأساسية throw لإلقاء الاستثناء المخصص.
**_مثال:_**
`throw new ArithmeticException("/ by zero not permitted");
`
##### المزيد من الموارد
[المهوسون المهوسون](https://www.geeksforgeeks.org/throw-throws-java/)