cause the DeviceHelper is on the top layer,it can't
catch the IOException,then i throw a custom exception
(DaoException) in it.in the place which really
generates IOException,i put the message in my custome
exception:
catch (IOException e) {
throw new DaoException(server down);}
so i think,can i
correct,but it seems the c:catch
can't find the original exception.that's what i want
to know.
--- Helios Alonso [EMAIL PROTECTED]
So an IOException is trapped and converted by your
logic to a DAOException
(the one you want to display) and throwed. The jsp
catchs this and throws
it's