The throw exception task is able to throw a .NET exception with a specific message.