Frames No Frames

  %method %block %branch %line
net.jaekl.qd.util.ExceptionUtils
50%(1/2)
83%(5/6)
100%(2/2)
86%(6/7)

hit count method name method modifiers method signature
0 <init> [public] void <init>()
8 tryClose [public, static] void tryClose(java.io.Closeable)

 1  
 package net.jaekl.qd.util;
 2  
 
 3  
 import java.io.Closeable;
 4  
 import java.io.IOException;
 5  
 
 6  
 import net.jaekl.qd.QDException;
 7  
 
 8  Block: 0/1 
 public class ExceptionUtils {
 9  
 	public static void tryClose(Closeable closeable) throws QDException {
 10  
 		try {
 11  Block: 1/1 
 			if (null != closeable) {
 12  Block: 1/1 Branch: 1/1 
 				closeable.close();
 13  
 			}
 14  
 		}
 15  Block: 1/1 
 		catch (IOException ioe) {
 16  
 			throw new QDException(ioe);
 17  Block: 1/1 Branch: 1/1 
 		}
 18  Block: 1/1 
 	}
 19  
 }

Report generated 11/12/14 11:31 PM