You should be able to set the message property of CAccessControlFilter: http://www.yiiframework.com/doc/api/1.1/CAccessControlFilter#message-detail in your controller. If that’s not enough and you need to throw some custom exceptions you could extend CAccessControlFilter, override the parts you want to change and use this one as your filterclass