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. This
024 * class has been replaced by BadDelimiterException. It is not deprecated, and it may be used, however the name of this
025 * class contains a spelling error.
026 *
027 * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
028 * @since ostermillerutils 1.02.08
029 * @see BadDelimiterException
030 */
031 public class BadDelimiterException
032 extends RuntimeException
033 {
034 private static final long serialVersionUID = 577882059222633800L;
035
036 /**
037 * Constructs an IOException with null as its error detail message.
038 *
039 * @since ostermillerutils 1.02.08
040 */
041 public BadDelimiterException()
042 {
043 super();
044 }
045
046 /**
047 * Constructs an exception with the specified detail message. The error message string s can later be retrieved by
048 * the Throwable.getMessage() method of class java.lang.Throwable.
049 *
050 * @param s the detail message.
051 * @since ostermillerutils 1.02.08
052 */
053 public BadDelimiterException( String s )
054 {
055 super( s );
056 }
057 }