Kenneth Howe created GEODE-6161:
-----------------------------------

             Summary: AbstractDistributionConfig.checkAttribute hides 
underlying cause of when throwing Internal GemFireException
                 Key: GEODE-6161
                 URL: https://issues.apache.org/jira/browse/GEODE-6161
             Project: Geode
          Issue Type: Improvement
          Components: configuration
            Reporter: Kenneth Howe


Locator failed to start, and threw InternalGemfireException. However the 
underlying cause of the exception was not included in the exception message as 
seen in the following code snippet

{code}
    try {
      return checker.invoke(this, value);
    } catch (Exception e) {
      if (e instanceof RuntimeException) {
        throw (RuntimeException) e;
      }
      if (e.getCause() instanceof RuntimeException) {
        throw (RuntimeException) e.getCause();
      } else {
        throw new InternalGemFireException(
            "error invoking " + checker.getName() + " with value " + value);
      }
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to