Fix on exception interface and phpdoc