src/com/sun/org/apache/regexp/internal/RESyntaxException.java

changeset 2116
aaee9ae4799a
parent 2090
3b8ebb957957
parent 2115
ba503169016f
child 2117
a5f920b6d2b5
     1.1 --- a/src/com/sun/org/apache/regexp/internal/RESyntaxException.java	Sat Oct 24 16:18:47 2020 +0800
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,43 +0,0 @@
     1.4 -/*
     1.5 - * reserved comment block
     1.6 - * DO NOT REMOVE OR ALTER!
     1.7 - */
     1.8 -/*
     1.9 - * Copyright 1999-2004 The Apache Software Foundation.
    1.10 - *
    1.11 - * Licensed under the Apache License, Version 2.0 (the "License");
    1.12 - * you may not use this file except in compliance with the License.
    1.13 - * You may obtain a copy of the License at
    1.14 - *
    1.15 - *     http://www.apache.org/licenses/LICENSE-2.0
    1.16 - *
    1.17 - * Unless required by applicable law or agreed to in writing, software
    1.18 - * distributed under the License is distributed on an "AS IS" BASIS,
    1.19 - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    1.20 - * See the License for the specific language governing permissions and
    1.21 - * limitations under the License.
    1.22 - */
    1.23 -
    1.24 -package com.sun.org.apache.regexp.internal;
    1.25 -
    1.26 -/**
    1.27 - * Exception thrown to indicate a syntax error in a regular expression.
    1.28 - * This is a non-checked exception because you should only have problems compiling
    1.29 - * a regular expression during development.
    1.30 - * If you are making regular expresion programs dynamically then you can catch it
    1.31 - * if you wish. But should not be forced to.
    1.32 - *
    1.33 - * @author <a href="mailto:jonl@muppetlabs.com">Jonathan Locke</a>
    1.34 - * @author <a href="mailto:gholam@xtra.co.nz>Michael McCallum</a>
    1.35 - */
    1.36 -public class RESyntaxException extends RuntimeException
    1.37 -{
    1.38 -    /**
    1.39 -     * Constructor.
    1.40 -     * @param s Further description of the syntax error
    1.41 -     */
    1.42 -    public RESyntaxException(String s)
    1.43 -    {
    1.44 -        super("Syntax error: " + s);
    1.45 -    }
    1.46 -}

mercurial