---
title: "Can you use the 'throws' clause to raise an exception?"  
description: "Can you use the 'throws' clause to raise an exception?"  
author: "Sumit Kesarwani"  
published: 2014-08-27  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/2063/can-you-use-the-throws-clause-to-raise-an-exception  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Can you use the 'throws' clause to raise an exception?

No, the throws clause cannot be used to raise an exception. The throw statement signals the occurrence of an exception during the execution of a program. When the program encounters a throw statement, the method terminates and returns the error to the calling method.

## Answers

### Answer by Sumit Kesarwani

No, the throws clause cannot be used to raise an exception. The throw statement signals the occurrence of an exception during the execution of a program. When the program encounters a throw statement, the method terminates and returns the error to the calling method.


---

Original Source: https://www.mindstick.com/interview/2063/can-you-use-the-throws-clause-to-raise-an-exception

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
