I have a stored procedure on a SQL Server 2005 database which has a statement like this:
IF @Condition = 0 BEGIN RAISERROR(\'some error message
From the Books online
Specify a severity of 10 or lower to use RAISERROR to return a message from a TRY block without invoking the CATCH block.