Fix for Bug 456305 - Add some error message. 

Signed-off-by: xinzhao-acutate <xzhao@actuate.com>