20 lines
432 B
Java
20 lines
432 B
Java
package stream;
|
|
|
|
import error.CriticalLispException;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class UncheckedIOException extends CriticalLispException {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private IOException exception;
|
|
|
|
public UncheckedIOException(IOException exception) {
|
|
this.exception = exception;
|
|
}
|
|
|
|
@Override
|
|
public String getMessage() {
|
|
return exception.getMessage();
|
|
}
|
|
} |