Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73024180D3 for ; Thu, 6 Aug 2015 20:17:10 +0000 (UTC) Received: (qmail 50594 invoked by uid 500); 6 Aug 2015 20:17:09 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 50523 invoked by uid 500); 6 Aug 2015 20:17:09 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 50306 invoked by uid 99); 6 Aug 2015 20:17:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 20:17:09 +0000 Date: Thu, 6 Aug 2015 20:17:09 +0000 (UTC) From: "Vishy Kasar (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-10009) Surface KeyspaceNotPresent as a specific exception code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vishy Kasar created CASSANDRA-10009: --------------------------------------- Summary: Surface KeyspaceNotPresent as a specific exception code Key: CASSANDRA-10009 URL: https://issues.apache.org/jira/browse/CASSANDRA-10009 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vishy Kasar Fix For: 2.0.x When key space is not present, the server sends back an exception code of INVALID. The underlying reason is buried in the exception message. We have specific use cases where we want to retry KeyspaceNotPresent exception. However only way to achieve this today is to parse the exception message which is not good. Please surface KeyspaceNotPresent as a specific exception code -- This message was sent by Atlassian JIRA (v6.3.4#6332)