code: public static void validate(final String iban) throws IbanFormatException,
              InvalidCheckDigitException, UnsupportedCountryException {
          try {
              validateEmpty(iban);
              validateCountryCode(iban);
              validateCheckDigitPresence(iban);
  
              final BbanStructure structure = getBbanStructure(iban);
  
              validateBbanLength(iban, structure);
              validateBbanEntries(iban, structure);
  
              validateCheckDigit(iban);
          } catch (Iban4jException e) {
              throw e;
          } catch (RuntimeException e) {
              throw new IbanFormatException(UNKNOWN, e.getMessage());
          }
      }
docs: Validates iban.
  
  @param iban to be validated.
  @throws IbanFormatException if iban is invalid.
  UnsupportedCountryException if iban's country is not supported.
  InvalidCheckDigitException if iban has invalid check digit.