java.net.UnknownHostException

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.net.UnknownHostException

joac

Dear Orbeon community,

 

I am using the oxf:email processor and I’ve got the following error when the smtp-host is unreachable:

 

Unknown SMTP host: smtp.noexist.col; nested exception is: java.net.UnknownHostException: smtp.noexist.col

 

Is there a way to control this error instead of showing the error page with this exception?

 

 

Thanks,

Jordi



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: java.net.UnknownHostException

Erik Bruchez
Administrator
Jordi,

Currently there is no neat exception handling in XPL. But you could use
the oxf:exception-catcher processor as a workaround. You should find
some information within this thread:

   http://mail-archive.objectweb.org/ops-users/2005-11/msg00586.html

Hopefully when we get to implementing XProc we will add exception
handling ;-)

-Erik

Jordi Amatller wrote:

> Dear Orbeon community,
>
>  
>
> I am using the oxf:email processor and I’ve got the following error when
> the smtp-host is unreachable:
>
>  
>
> Unknown SMTP host: smtp.noexist.col; nested exception is:
> java.net.UnknownHostException: smtp.noexist.col
>
>  
>
> Is there a way to control this error instead of showing the error page
> with this exception?
>
>  
>
>  
>
> Thanks,
>
> Jordi
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws