001 /* 002 * Binary data exception. 003 * Copyright (C) 2003-2004 Stephen Ostermiller 004 * http://ostermiller.org/contact.pl?regarding=Java+Utilities 005 * 006 * This program is free software; you can redistribute it and/or modify 007 * it under the terms of the GNU General Public License as published by 008 * the Free Software Foundation; either version 2 of the License, or 009 * (at your option) any later version. 010 * 011 * This program is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 014 * GNU General Public License for more details. 015 * 016 * See COPYING.TXT for details. 017 */ 018 019 //package com.Ostermiller.util; 020 package net.sf.logdistiller.util.csv; 021 022 /** 023 * Signals that binary data was encountered and continuing with a text operation would likely corrupt the data. 024 * 025 * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities 026 * @since ostermillerutils 1.02.16 027 */ 028 public class BadQuoteException 029 extends RuntimeException 030 { 031 private static final long serialVersionUID = 4591609218511683835L; 032 033 /** 034 * Constructs an IOException with null as its error detail message. 035 * 036 * @since ostermillerutils 1.02.16 037 */ 038 public BadQuoteException() 039 { 040 super(); 041 } 042 043 /** 044 * Constructs an exception with the specified detail message. The error message string s can later be retrieved by 045 * the Throwable.getMessage() method of class java.lang.Throwable. 046 * 047 * @param s the detail message. 048 * @since ostermillerutils 1.02.16 049 */ 050 public BadQuoteException( String s ) 051 { 052 super( s ); 053 } 054 }