Php Exception handling example 1