ParseableException
com.phasmidsoftware.tableparser.core.parse.ParseableException
abstract class ParseableException(msg: String, e: Throwable = ...) extends Exception
Abstract class ParseableException is an extension of the standard Scala Exception class and provides a base structure for defining custom exceptions that can carry a parse error message and an optional cause (a Throwable).
This class can be used as a foundation for defining exceptions when parsing operations fail or encounter errors, allowing informative and structured error reporting.
Value parameters
- e
-
an optional throwable that caused this exception, defaulting to
nullif not provided. - msg
-
the error message detailing the cause or nature of the parsing issue.
Attributes
- Graph
-
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
class BlankExceptionclass InvalidParseException
Members list
In this article