i am trying to use the following

DECLARE id as INTEGER
SET @id=8115
RAISERROR(@id, 16,1)

But its giving me the errors, how can i use the system error messages