public static void assertSpecificLang(String specificLang) throws XMPException {
  if (specificLang == null || specificLang.length() == 0) {
    throw new XMPException("Empty specific language",XMPError.BADPARAM);
  }
}

public static void assertSpecificLang ( String specificLang ) throws XMPException { if ( specificLang == null || specificLang . length ( ) == 0 ) { throw new XMPException ( "Empty specific language" , XMPError . BADPARAM ) ; } }
asserts that a specific language is set .
