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 Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable

Concrete fields

val index: Int

Attributes

Source
StringContext.scala