Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public class PatternSyntaxException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. IllegalArgumentException
  6. PatternSyntaxException
The same shape as java.util.regex.PatternSyntaxException: a pattern that is not one, or that uses a construct this runtime does not have – the description says which.

Constructors

public PatternSyntaxException(String description, String regex, int index)

Methods

public int getIndex()
public String getDescription()
public String getPattern()
public String getMessage()Returns the error message string of this Throwable object.

Inherited methods

Constructor details

PatternSyntaxException

public PatternSyntaxException(String description, String regex, int index)

Method details

getIndex

public int getIndex()

getDescription

public String getDescription()

getPattern

public String getPattern()

getMessage

public String getMessage()
Returns the error message string of this Throwable object.