
com.github.nginate.commons.lang.function.unchecked.RuntimeIOException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-lang Show documentation
Show all versions of commons-lang Show documentation
Misc utilities to hide most common boilerplate code. Requires jdk8 at least
The newest version!
/**
* Copyright © 2016
* Maksim Lozbin
* Oleksii Ihnachuk
*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package com.github.nginate.commons.lang.function.unchecked;
/**
* Sometimes it's still necessary to indicate specific problems as if you've previously done with checked exceptions,
* but now you do not want. Maybe because of functional flow, or etc. This exception mimics IO exception in runtime
* world.
*
* @see java.io.IOException
*
* @since 1.0
*/
public class RuntimeIOException extends RuntimeException {
public RuntimeIOException() {
}
public RuntimeIOException(String message) {
super(message);
}
public RuntimeIOException(String message, Throwable cause) {
super(message, cause);
}
public RuntimeIOException(Throwable cause) {
super(cause);
}
public RuntimeIOException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy