follow the pear2 exception rfc