how to raise warning? I would like to show up warning as below

warning: ClassName.methodName(): warning message

-- 
Szymon Drejewicz