MultiLineException
com.phasmidsoftware.tableparser.core.parse.MultiLineException
case class MultiLineException[X](x: X) extends Exception
The MultiLineException class is a case class that extends the Exception class. This exception is designed to handle multi-line exception scenarios where custom content is provided to describe the error.
Type parameters
- X
-
The generic type of the content that can represent the cause or context of the exception. The exception message is constructed dynamically by concatenating the string "multi-line exception: " with the provided content. Usage example:
val exception = MultiLineException("An error occurred") throw exception
Value parameters
- x
-
The content of type
Xthat describes the exception or provides context for it.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article