Philipp Lohmann - Sun Germany wrote:
Oliver Braun wrote:
Open Issues:
Is it o.k. to throw a RuntimeException in the case the desktop
environment does not know how to handle the specified URL, or should we
introduce a new exception for this ?
Use an IllegalArgumentException ?
Because the argument itself may not be the problem, but some broken
configuration on the desktop.
Another question: why throw an exception, why not return a bool for success or
not ?
Don't know (why this did not come to my mind). Sounds reasonable.
Thanks,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]