345346347348349350351352
private void checkNotNull(Object obj, String errMsg) throws UserInputException { if (null == obj) { throw new UserInputException(errMsg); } }