BlankException
com.phasmidsoftware.tableparser.core.parse.BlankException
case class BlankException(e: Throwable = ...) extends ParseableException
A case class representing a specific exception type BlankException used when a blank value or an error associated with a blank value is encountered during the parsing process. It extends ParseableException as its base type.
Value parameters
- e
-
an optional
Throwablecause associated with the exception. Defaults tonullif not provided.
Attributes
- Constructor
-
Creates a new
BlankExceptionby delegating to the baseParseableExceptionand providing the message identifier "blank" along with the optional causee. - Example
-
// Throwing a BlankException with a cause throw BlankException(new IllegalArgumentException("Blank value encountered")) // Throwing a BlankException without a cause throw BlankException() - Graph
-
- Supertypes
-
trait Producttrait Equalsclass ParseableExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article