---
title: "Difference between @throw and raise?"  
description: "Difference between @throw and raise?"  
author: "Tarun Kumar"  
published: 2015-10-26  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/22869/difference-between-throw-and-raise  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# Difference between @throw and raise?

**raise-** this will send only NSException object.\
where as,\
**@throw-** this can take NSString Objects in its argument and also take NSException Object. (Cocoa applications should @throw only NSException objects).

## Answers

### Answer by Tarun Kumar

**raise-** this will send only NSException object.\
where as,\
**@throw-** this can take NSString Objects in its argument and also take NSException Object. (Cocoa applications should @throw only NSException objects).


---

Original Source: https://www.mindstick.com/interview/22869/difference-between-throw-and-raise

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
