@@ -262,8 +262,9 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
262262 /**
263263 * Get a time parameter as seconds; throws a NoSuchElementException if it's not set. If no
264264 * suffix is provided then seconds are assumed.
265- * @note Throws ` NoSuchElementException`
265+ * @throws java.util. NoSuchElementException
266266 */
267+ @ throws(classOf [NoSuchElementException ])
267268 def getTimeAsSeconds (key : String ): Long = {
268269 Utils .timeStringAsSeconds(get(key))
269270 }
@@ -279,8 +280,9 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
279280 /**
280281 * Get a time parameter as milliseconds; throws a NoSuchElementException if it's not set. If no
281282 * suffix is provided then milliseconds are assumed.
282- * @note Throws ` NoSuchElementException`
283+ * @throws java.util. NoSuchElementException
283284 */
285+ @ throws(classOf [NoSuchElementException ])
284286 def getTimeAsMs (key : String ): Long = {
285287 Utils .timeStringAsMs(get(key))
286288 }
@@ -296,8 +298,9 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
296298 /**
297299 * Get a size parameter as bytes; throws a NoSuchElementException if it's not set. If no
298300 * suffix is provided then bytes are assumed.
299- * @note Throws ` NoSuchElementException`
301+ * @throws java.util. NoSuchElementException
300302 */
303+ @ throws(classOf [NoSuchElementException ])
301304 def getSizeAsBytes (key : String ): Long = {
302305 Utils .byteStringAsBytes(get(key))
303306 }
@@ -320,8 +323,9 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
320323 /**
321324 * Get a size parameter as Kibibytes; throws a NoSuchElementException if it's not set. If no
322325 * suffix is provided then Kibibytes are assumed.
323- * @note Throws ` NoSuchElementException`
326+ * @throws java.util. NoSuchElementException
324327 */
328+ @ throws(classOf [NoSuchElementException ])
325329 def getSizeAsKb (key : String ): Long = {
326330 Utils .byteStringAsKb(get(key))
327331 }
@@ -337,8 +341,9 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
337341 /**
338342 * Get a size parameter as Mebibytes; throws a NoSuchElementException if it's not set. If no
339343 * suffix is provided then Mebibytes are assumed.
340- * @note Throws ` NoSuchElementException`
344+ * @throws java.util. NoSuchElementException
341345 */
346+ @ throws(classOf [NoSuchElementException ])
342347 def getSizeAsMb (key : String ): Long = {
343348 Utils .byteStringAsMb(get(key))
344349 }
@@ -354,8 +359,9 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging with Seria
354359 /**
355360 * Get a size parameter as Gibibytes; throws a NoSuchElementException if it's not set. If no
356361 * suffix is provided then Gibibytes are assumed.
357- * @note Throws ` NoSuchElementException`
362+ * @throws java.util. NoSuchElementException
358363 */
364+ @ throws(classOf [NoSuchElementException ])
359365 def getSizeAsGb (key : String ): Long = {
360366 Utils .byteStringAsGb(get(key))
361367 }
0 commit comments