Class Exceptions
- java.lang.Object
-
- org.apache.pulsar.functions.utils.Exceptions
-
public class Exceptions extends java.lang.ObjectUtil to handle exceptions.
-
-
Constructor Summary
Constructors Constructor Description Exceptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareExceptionsPresentInChain(java.lang.Throwable error, java.lang.Class... types)static voidrethrowIOException(java.lang.Throwable cause)static java.lang.StringtoString(java.lang.Exception ex)
-
-
-
Method Detail
-
rethrowIOException
public static void rethrowIOException(java.lang.Throwable cause) throws java.io.IOException- Throws:
java.io.IOException
-
toString
public static java.lang.String toString(java.lang.Exception ex)
-
areExceptionsPresentInChain
public static boolean areExceptionsPresentInChain(java.lang.Throwable error, java.lang.Class... types)
-
-