Coverage Report - org.jaudiotagger.audio.exceptions.CannotReadException
 
Classes in this File Line Coverage Branch Coverage Complexity
CannotReadException
50%
4/8
N/A
1
 
 1  
 /*
 2  
  * Entagged Audio Tag library
 3  
  * Copyright (c) 2003-2005 Rapha�l Slinckx <raphael@slinckx.net>
 4  
  * 
 5  
  * This library is free software; you can redistribute it and/or
 6  
  * modify it under the terms of the GNU Lesser General Public
 7  
  * License as published by the Free Software Foundation; either
 8  
  * version 2.1 of the License, or (at your option) any later version.
 9  
  *  
 10  
  * This library is distributed in the hope that it will be useful,
 11  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 13  
  * Lesser General Public License for more details.
 14  
  * 
 15  
  * You should have received a copy of the GNU Lesser General Public
 16  
  * License along with this library; if not, write to the Free Software
 17  
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 18  
  */
 19  
 package org.jaudiotagger.audio.exceptions;
 20  
 
 21  
 /**
 22  
  * This exception is thrown if an audio file cannot be read.<br>
 23  
  * Causes may be invalid data or IO errors.
 24  
  *
 25  
  * @author Rapha�l Slinckx
 26  
  */
 27  
 public class CannotReadException extends Exception
 28  
 {
 29  
     /**
 30  
      * Creates an instance.
 31  
      */
 32  
     public CannotReadException()
 33  
     {
 34  0
         super();
 35  0
     }
 36  
 
 37  
     public CannotReadException(Throwable ex)
 38  
     {
 39  0
         super(ex);
 40  0
     }
 41  
 
 42  
     /**
 43  
      * Creates an instance.
 44  
      *
 45  
      * @param message The message.
 46  
      */
 47  
     public CannotReadException(String message)
 48  
     {
 49  4
         super(message);
 50  4
     }
 51  
 
 52  
     /**
 53  
      * Creates an instance.
 54  
      *
 55  
      * @param message The error message.
 56  
      * @param cause   The throwable causing this exception.
 57  
      */
 58  
     public CannotReadException(String message, Throwable cause)
 59  
     {
 60  2
         super(message, cause);
 61  2
     }
 62  
 }