@LimitedPrivate("testing")
@Unstable
public final class DynMethods
extends java.lang.Object
org.apache.parquet.util.DynMethods.| Modifier and Type | Class | Description |
|---|---|---|
static class |
DynMethods.BoundMethod |
|
static class |
DynMethods.Builder |
|
static class |
DynMethods.StaticMethod |
|
static class |
DynMethods.UnboundMethod |
Convenience wrapper class around
Method. |
| Modifier and Type | Method | Description |
|---|---|---|
static <E extends java.lang.Exception> |
throwIfInstance(java.lang.Throwable t,
java.lang.Class<E> excClass) |
If the given throwable is an instance of E, throw it as an E.
|
public static <E extends java.lang.Exception> void throwIfInstance(java.lang.Throwable t,
java.lang.Class<E> excClass)
throws E extends java.lang.Exception
E - the type of exception that will be thrown if throwable is an instancet - an exception instanceexcClass - an exception class t may be an instance ofE - if t is an instance of EE extends java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.