Clover Coverage Report - jmxmonitor 1.0.2
Coverage timestamp: Wed Feb 10 2010 07:36:51 GMT
../../../../../img/srcFileCovDistChart0.png 85% of files have more coverage
5   45   5   1
0   20   1   5
5     1  
1    
 
  ReadingFailedException       Line # 24 5 0% 5 10 0% 0.0
 
No Tests
 
1    /*
2    * Copyright 2009 Ben Gidley
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.apache.org/licenses/LICENSE-2.0
9    *
10    * Unless required by applicable law or agreed to in writing, software
11    * distributed under the License is distributed on an "AS IS" BASIS,
12    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13    * See the License for the specific language governing permissions and
14    * limitations under the License.
15    */
16   
17    package uk.co.gidley.jmxmonitor.monitoring;
18   
19    import org.apache.commons.lang.exception.NestableException;
20   
21    /**
22    * Thrown when a reading failed. This should wrap any exception thrown
23    */
 
24    public class ReadingFailedException extends NestableException {
 
25  0 toggle public ReadingFailedException() {
26  0 super();
27    }
28   
 
29  0 toggle public ReadingFailedException(String msg) {
30  0 super(msg);
31    }
32   
 
33  0 toggle public ReadingFailedException(Throwable cause) {
34  0 super(cause);
35    }
36   
 
37  0 toggle public ReadingFailedException(String msg, Throwable cause) {
38  0 super(msg, cause);
39    }
40   
 
41  0 toggle @Override
42    public String toString() {
43  0 return "Failed to read monitor";
44    }
45    }