@Override
	public CommerceCountry findByG_N(long groupId, int numericISOCode)
		throws NoSuchCountryException {
		CommerceCountry commerceCountry = fetchByG_N(groupId, numericISOCode);

		if (commerceCountry == null) {
			StringBundler msg = new StringBundler(6);

			msg.append(_NO_SUCH_ENTITY_WITH_KEY);

			msg.append("groupId=");
			msg.append(groupId);

			msg.append(", numericISOCode=");
			msg.append(numericISOCode);

			msg.append("}");

			if (_log.isDebugEnabled()) {
				_log.debug(msg.toString());
			}

			throw new NoSuchCountryException(msg.toString());
		}

		return commerceCountry;
	}
@ Override public CommerceCountry findByG_N ( long groupId , int numericISOCode ) throws NoSuchCountryException { CommerceCountry commerceCountry = fetchByG_N ( groupId , numericISOCode ) ; if ( commerceCountry == null ) { StringBundler msg = new StringBundler ( 6 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "groupId=" ) ; msg . append ( groupId ) ; msg . append ( ", numericISOCode=" ) ; msg . append ( numericISOCode ) ; msg . append ( "}" ) ; if ( _log . isDebugEnabled ( ) ) { _log . debug ( msg . toString ( ) ) ; } throw new NoSuchCountryException ( msg . toString ( ) ) ; } return commerceCountry ; }
Returns the commerce country where groupId = &#63; and numericISOCode = &#63; or throws a {@link NoSuchCountryException} if it could not be found.

@param groupId the group ID
@param numericISOCode the numeric iso code
@return the matching commerce country
@throws NoSuchCountryException if a matching commerce country could not be found