package com.paymentlink.exception; public class RegionBlockedException extends RuntimeException { private final String countryCode; private final String countryName; public RegionBlockedException(String countryCode, String countryName) { super("Access denied for region: " + countryName + " (" + countryCode + ")"); this.countryCode = countryCode; this.countryName = countryName; } public String getCountryCode() { return countryCode; } public String getCountryName() { return countryName; } }