public final class OpUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
unsupported(java.lang.String op,
java.lang.Object... a)
This method builds a meaningful exception and throws it immediately.
|
public static <T> T unsupported(java.lang.String op,
java.lang.Object... a)
T - Return type. This function never returns, this type is a
placeholder that allows you to write stuff like
"return unsupported(op, args)".op - The name of the operationa - The arguments that have been passed, and that made the
operation fail.java.lang.UnsupportedOperationException - ALWAYS