checkArgument(bool expression, String errorMessage) { if (!expression) { throw new Exception(errorMessage); } }