return RPC.encodeResponseForFailure(null, new
IllegalArgumentException("Logged out"));
service interface...
public interface GreetingService extends RemoteService {
boolean isUserLoggedIn() throws IllegalArgumentException;
}
On Tue, Jan 3, 2012 at 1:25 PM, joe kolba <[email protected]> wrote:
> I am throwing IllegalArgumentException in my service interface and i still
> get the 500 error.
>
>
> On Tue, Jan 3, 2012 at 1:22 PM, Paul Stockley <[email protected]>wrote:
>
>> In your service interface you have do declare each function throws your
>> custom exception otherwise you will get that error.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-web-toolkit/-/KuhUBhSNs6wJ.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.