Click here to Skip to main content
15,887,596 members
Articles / General Programming / Exceptions

Intrinsic String.Format in Exception Throwing

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
22 Apr 2013CPOL 7K   4  
A handy way to raise an exception without having to call String.Format for the exception message

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Founder Erisia Web Development
South Africa South Africa
I am a software developer in Johannesburg, South Africa. I specialise in C# and ASP.NET MVC, with SQL Server, with special fondness for MVC and jQuery. I have been in this business for about eighteen years, and am currently trying to master Angular 4 and .NET Core, and somehow find a way to strengthen my creative faculties.
- Follow me on Twitter at @bradykelly

Comments and Discussions