google-code-backups / sabreamf

Automatically exported from code.google.com/p/sabreamf
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

make more informative SabreAmf_Client errors #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When a server returns invalid amf response(for example fatal error at server 
side) the client throws exception with a message like "buffer under run ... "

It is not very informative, is it?

It can be solved by changing private properties:

SabreAMF_Client::amfInputStream and  SabreAMF_InputStream::rawData to public or 
making getter interface for them like:

SabreAMF_Client::getAmfInputStream();
SabreAMF_InputStream::getRawData();

Original issue reported on code.google.com by kotlyar....@gmail.com on 14 Jul 2010 at 1:57