public class SparkExceptionUtil
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.RuntimeException | toUncheckedException(java.lang.Throwable cause,
                    java.lang.String message,
                    java.lang.Object... args)Converts checked exceptions to unchecked exceptions. | 
@FormatMethod
public static java.lang.RuntimeException toUncheckedException(java.lang.Throwable cause,
                                                                            java.lang.String message,
                                                                            java.lang.Object... args)
cause - a checked exception object which is to be converted to its unchecked equivalent.message - exception message as a format stringargs - format specifiers