net.sf.saxon.regex

## Class RESyntaxException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - net.sf.saxon.regex.RESyntaxException

- All Implemented Interfaces:
    Serializable

      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.
  Version:
    $Id: RESyntaxException.java 518156 2007-03-14 14:31:26Z vgritsenko $
  Author:
    Jonathan Locke, See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RESyntaxException(String s)` Constructor.
    `RESyntaxException(String s, int offset)` Constructor.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

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

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### RESyntaxException

          public RESyntaxException(String s)

      Constructor.
      Parameters:
        `s` - Further description of the syntax error

    - #### RESyntaxException

          public RESyntaxException(String s,
                           int offset)

      Constructor.
      Parameters:
        `s` - Further description of the syntax error
        `offset` - character position within regex where the error was detected

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.