类 ExceptionUtils
- java.lang.Object
-
- org.apache.seatunnel.connectors.seatunnel.jdbc.utils.ExceptionUtils
-
public class ExceptionUtils extends Object
-
-
构造器概要
构造器 构造器 说明 ExceptionUtils()
-
-
-
方法详细资料
-
rethrow
public static void rethrow(Throwable t)
-
rethrowIOException
public static void rethrowIOException(Throwable t) throws IOException
Re-throws the givenThrowablein scenarios where the signatures allows only IOExceptions (and RuntimeException and Error).Throws this exception directly, if it is an IOException, a RuntimeException, or an Error. Otherwise it wraps it in an IOException and throws it.
- 参数:
t- The Throwable to be thrown.- 抛出:
IOException
-
-