public static String getCancelResult(int result)
    {
        String str = null;
        switch (result)
        {
            case GridSimTags.AR_CANCEL_ERROR:
                str = "AR_CANCEL_ERROR";
                break;

            case GridSimTags.AR_CANCEL_FAIL:
                str = "AR_CANCEL_FAIL";
                break;

            case GridSimTags.AR_CANCEL_FAIL_INVALID_BOOKING_ID:
                str = "AR_CANCEL_FAIL_INVALID_BOOKING_ID";
                break;

            case GridSimTags.AR_CANCEL_FAIL_GRIDLET_FINISHED:
                str = "AR_CANCEL_FAIL_GRIDLET_FINISHED";
                break;

            case GridSimTags.AR_CANCEL_SUCCESS:
                str = "AR_CANCEL_SUCCESS";
                break;

            case GridSimTags.AR_CANCEL_ERROR_RESOURCE_CANT_SUPPORT:
                str = "AR_CANCEL_ERROR_RESOURCE_CANT_SUPPORT";
                break;

            default:
                break;
        }

        return str;
    }