Exception raising was solved in different way.