Fix some problems when the Dao class generate an exception.
	Fix an error that appear when was added the namespace. The exceptions fail.