Clover icon

Coverage Report

  1. Project Clover database Wed Nov 13 2024 16:21:17 GMT
  2. Package com.stevesoft.pat

File RegSyntax.java

 

Coverage histogram

../../../img/srcFileCovDistChart7.png
29% 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.666666766.7%
 

Contributing tests

This file is covered by 1 test. .

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  1 toggle RegSyntax(String msg)
27    {
28  1 super(msg);
29    }
30    };