private String getString(int resId) { if (HarpoonSDK.getContext() == null) { throw new NullPointerException("SDK context is not initialised!"); } return HarpoonSDK.getContext().getString(resId); }