if (request.arguments() == null || request.arguments().size() != 2
|| !request.arguments().get(0).canConvertToLong()
|| !request.arguments().get(1).canConvertToLong())
{
try {
request.replyError(new ApplicationError(ApplicationError.INVALID_PARAMETER));
} catch (ApplicationError e) { }
}
else {
long a = request.arguments().get(0).asLong();
long b = request.arguments().get(1).asLong();