Clover icon

Coverage Report

  1. Project Clover database Thu Nov 7 2024 17:01:39 GMT
  2. Package com.stevesoft.pat

File RegSyntax.java

 

Coverage histogram

../../../img/srcFileCovDistChart0.png
0% of files have more coverage

Code metrics

0
1
2
1
30
11
2
2
0.5
2
1

Classes

Class Line # Actions
RegSyntax 20 1 2
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    //
2    // This software is now distributed according to
3    // the Lesser Gnu Public License. Please see
4    // http://www.gnu.org/copyleft/lesser.txt for
5    // the details.
6    // -- Happy Computing!
7    //
8    package com.stevesoft.pat;
9   
10    /*
11    Shareware: package pat
12    <a href="copyright.html">Copyright 2001, Steven R. Brandt</a>
13    */
14    /**
15    * This type of syntax error is thrown whenever a syntax error is encountered in
16    * the pattern. It may not be caught directly, as it is not in the throws clause
17    * of any method. To detect it, catch Throwable, and use instanceof to see if it
18    * is a RegSyntax.
19    */
 
20    public class RegSyntax extends Exception
21    {
 
22  0 toggle RegSyntax()
23    {
24    }
25   
 
26  0 toggle RegSyntax(String msg)
27    {
28  0 super(msg);
29    }
30    };