diff options
Diffstat (limited to 'plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/IORuntimeException.java')
-rw-r--r-- | plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/IORuntimeException.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/IORuntimeException.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/IORuntimeException.java deleted file mode 100644 index f764b6bed7..0000000000 --- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/IORuntimeException.java +++ /dev/null @@ -1,50 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2004 - 2008 Eike Stepper, Germany. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - **************************************************************************/ -package org.eclipse.net4j.util.io; - -import java.io.IOException; - -/** - * @author Eike Stepper - */ -public class IORuntimeException extends RuntimeException -{ - private static final long serialVersionUID = 1L; - - public IORuntimeException() - { - } - - public IORuntimeException(String message) - { - super(message); - } - - public IORuntimeException(Throwable cause) - { - super(cause); - } - - public IORuntimeException(String message, Throwable cause) - { - super(message, cause); - } - - public void unwrapIOException() throws IOException - { - if (getCause() instanceof IOException) - { - throw (IOException)getCause(); - } - - throw this; - } -} |