public bool TryParse(string str, out Number number, string territoryName = null) { try { number = Parse(str, territoryName); return true; } catch (FailedToParseNumberException) { } catch (UnknownTerritoryException) { } catch (UnknownRegionException) { } number = null; return false; }