You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kenneth Howe (JIRA)" <ji...@apache.org> on 2018/12/06 21:33:00 UTC

[jira] [Created] (GEODE-6161) AbstractDistributionConfig.checkAttribute hides underlying cause of when throwing Internal GemFireException

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)