Re: [Asterisk-java-users] Asterisk Live
Brought to you by:
srt
From: Tony M. <to...@am...> - 2006-06-09 11:01:30
|
This change makes sense to me. -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Friday, June 09, 2006 4:12 AM To: ast...@li... Subject: Re: [Asterisk-java-users] Asterisk Live Stefan Reuter wrote: > Tony Mowers wrote: >> I am guessing that in theory it would now be possible for you to throw an >> Exception with the origination failure cause contained in the exception. In >> that case you'd never have to return AsteriskChannel = null. >> >> Is that the plan? > > Yes that might be done. - Probably a good idea! I changed it to throw a NoSuchChannelException instead of returning null. A ManagerCommunictionException indicates a lower level problem, i.e. something is wrong with the connection to the Manager API like not being connected. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |