Say, for example, I have a MailQueue class with a function queue, which takes a from address, a subject, a body, and an array of recipients. The function validates the given parameters for presence and email address validity, and then attempts to insert the message into the database ready for sending when the queue is next processed. If any of the function parameters fail validation, I throw an exception (say of type InvalidArguementException), and if the database insert fails, I have a custom database exception to throw (say of type DatabaseException).
Do I declare in my PHPDoc comment that I throw both types of exception (multiple @throws lines), or am I going about this the wrong way entirely?