# Class RESyntaxException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.util.regex.RESyntaxException

public class RESyntaxException extends RuntimeException
Exception thrown to indicate a syntax error in a regular expression. This is a non-checked exception because you should only have problems compiling a regular expression during development. If you are making regular expresion programs dynamically then you can catch it if you wish. But should not be forced to.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RESyntaxException(String s)`
  Constructor.

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### RESyntaxException

    public RESyntaxException(String s)

    Constructor.

    ###### Parameters

    - `s`: Further description of the syntax error