InvalidEscapeException
scala.StringContext.InvalidEscapeException
class InvalidEscapeException(str: String, val index: Int) extends IllegalArgumentException
An exception that is thrown if a string contains a backslash (\
) character that does not start a valid escape sequence.
Value parameters
- index
-
The index of the offending backslash character in
str
. - str
-
The offending string
Attributes
- Source
- StringContext.scala
- Graph
-
- Supertypes
-
class IllegalArgumentExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
Keywords
- no keywords
- final
Inherited
- Not inherited
- Throwable
In this article