All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.prestosql.jdbc.$internal.jackson.datatype.jdk8.WrappedIOException Maven / Gradle / Ivy

There is a newer version: 350
Show newest version
package io.prestosql.jdbc.$internal.jackson.datatype.jdk8;

import java.io.IOException;

/**
 * {@link IOException} runtime wrapper
 * 

* Wrap an {@link IOException} to a {@link RuntimeException} *

*/ public class WrappedIOException extends RuntimeException { private static final long serialVersionUID = 1L; /** * Constructor * * @param cause IOException to wrap */ public WrappedIOException(IOException cause) { super(cause); } /** * Returns the wrapped {@link IOException} * * @return the wrapped {@link IOException} */ @Override public IOException getCause() { return (IOException) super.getCause(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy