📄 binarydataexception.java
字号:
/* * Binary data exception. * Copyright (C) 2001 Stephen Ostermiller * http://ostermiller.org/contact.pl?regarding=Java+Utilities * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * See COPYING.TXT for details. */package com.Ostermiller.util;import java.io.IOException;/** * Signals that binary data was encountered and continuing * with a text operation would likely corrupt the data. * * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities * @since ostermillerutils 1.00.00 */public class BinaryDataException extends IOException { /** * Constructs an IOException with null as its error detail message. * * @since ostermillerutils 1.00.00 */ public BinaryDataException(){ super(); } /** * Constructs an IOException with the specified detail message. * The error message string s can later be retrieved by the * Throwable.getMessage() method of class java.lang.Throwable. * * @param s the detail message. * * @since ostermillerutils 1.00.00 */ public BinaryDataException(String s){ super(s); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -