Error messages don't expand

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

Democre
Posts: 77
Joined: 16 Sep 2010, 17:58

Error messages don't expand

Postby Democre » 15 Apr 2011, 22:13

It appears that the error messages received from the server have an issue.

SFS2X-RC2a
java client b3

I tried on the server:

Code: Select all

SFSErrorData error = new SFSErrorData( SFSErrorCode.GENERIC_ERROR );
error.addParameter( "GENERIC ERROR" );
throw new SFSLoginException( "Generic error thrown", error );

In the client I get "{0}" as the error message. It appears as if it doesn't get expanded correctly.

-Andy
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 18 Apr 2011, 07:56

Yep - known issue that will be fixed in the next release.

Thanks for reporting though!!

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Democre
Posts: 77
Joined: 16 Sep 2010, 17:58

Postby Democre » 18 Apr 2011, 16:47

I thought I had seen it reported, but couldn't find it through a search.
Any ETA on the next release?
Also, does this issue affect all clients, or just the Java client?
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 18 Apr 2011, 18:00

Its a java client only bugger from what I can see.

ETA - got a planning/prioritization chat with Marco this week. Will know more then!

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games

Follow on twitter: http://twitter.com/thomas_h_lund
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 27 Apr 2011, 08:10

Fixed in SVN now.

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games

Follow on twitter: http://twitter.com/thomas_h_lund

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 16 guests