Coverage Report - org.jaudiotagger.audio.exceptions.ReadOnlyFileException
 
Classes in this File Line Coverage Branch Coverage Complexity
ReadOnlyFileException
25%
2/8
N/A
1
 
 1  
 /**
 2  
  *  @author : Paul Taylor
 3  
  *  @author : Eric Farng
 4  
  *
 5  
  *  Version @version:$Id: ReadOnlyFileException.java 345 2007-08-07 16:14:03Z paultaylor $
 6  
  *
 7  
  *  MusicTag Copyright (C)2003,2004
 8  
  *
 9  
  *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 10  
  *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 11  
  *  or (at your option) any later version.
 12  
  *
 13  
  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 14  
  *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 15  
  *  See the GNU Lesser General Public License for more details.
 16  
  *
 17  
  *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
 18  
  *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 19  
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 20  
  *
 21  
  */
 22  
 package org.jaudiotagger.audio.exceptions;
 23  
 
 24  
 /**
 25  
  * This is the exception when try and access a read only file
 26  
  */
 27  
 public class ReadOnlyFileException extends Exception
 28  
 {
 29  
     /**
 30  
      * Creates a new ReadOnlyException datatype.
 31  
      */
 32  
     public ReadOnlyFileException()
 33  0
     {
 34  0
     }
 35  
 
 36  
     public ReadOnlyFileException(Throwable ex)
 37  
     {
 38  0
         super(ex);
 39  0
     }
 40  
 
 41  
     /**
 42  
      * Creates a new ReadOnlyException datatype.
 43  
      *
 44  
      * @param msg the detail message.
 45  
      */
 46  
     public ReadOnlyFileException(String msg)
 47  
     {
 48  4
         super(msg);
 49  4
     }
 50  
 
 51  
     public ReadOnlyFileException(String msg, Throwable ex)
 52  
     {
 53  0
         super(msg, ex);
 54  0
     }
 55  
 }