public int getErrorCode() {
    return errorCode;
  }
Encapsulates an error in invoking OS native calls. A counterpart of JNA's
<code>LastErrorException</code> so as to not expose the JNA <code>LastErrorException</code>
class, and also for ODBC/.NET drivers that don't use JNA.

@since GemFire 8.0
geode-core/src/main/java/org/apache/geode/internal/shared/NativeErrorException.java