please help me.
--- Gao Di <[EMAIL PROTECTED]> 的正文:
> correct,but it seems the
> 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 w
correct,but it seems the
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
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
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 own exception hmmm...
Is it correct?
If it's correct, the place to look is if exceptions that jsp throws have a
"nestedException" or "ca
You're right, I skimmed your post too quickly. Can you provide a more complete
stack trace? So, does DeviceHelper.getDevices() catch IOException and throw
DaoException?
Quoting Gao Di <[EMAIL PROTECTED]>:
> it seems u don't know what i mean,i know the useage u
> wrote,but it only displays the el
it seems u don't know what i mean,i know the useage u
wrote,but it only displays the el exception message.
--- Kris Schneider <[EMAIL PROTECTED]> 的正文:
>
> ...
>
>
>
>
>
> Quoting Gao Di <[EMAIL PROTECTED]>:
>
> > i know the can catch the exception on
> > jsp,but the error message whic
...
Quoting Gao Di <[EMAIL PROTECTED]>:
> i know the can catch the exception on
> jsp,but the error message which i got from it looked
> like below:
> javax.servlet.jsp.el.ELException: An error occurred
> while getting property "deivces" from an instance of
> class com.service.transfer.
i know the can catch the exception on
jsp,but the error message which i got from it looked
like below:
javax.servlet.jsp.el.ELException: An error occurred
while getting property "deivces" from an instance of
class com.service.transfer.client.DeviceHelper
in fact this error was generated by an IO