code: public int getIntegerPropertyFallback(T property) throws NumberFormatException
      {
          try
          {
              return getIntegerProperty(property);
          }
          catch (NumberFormatException e)
          {
              return Integer.parseInt(getDefaultProperty(property));
          }
      }
docs: Retrieve the value of the given property as an integer. If the current
  value of the specified property cannot be converted to an integer, the
  default value will be retrieved.
  
  @param property
  the property to retrieve
  @return the integer value of the given property or the default value if
  the current value is not a valid integer
  @throws NumberFormatException
  if both the current and default values are not integers