Top Description Constructors Methods
org.apache.groovy.internal.util

public Class UncheckedThrow

extends Object
Class Inheritance
Annotations
@Incubating
Imports
org.apache.groovy.lang.annotation.Incubating

Allows to throw a checked exception unchecked. INTERNAL USE ONLY.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
rethrow(final Throwable checkedException)

private static <T extends Throwable> void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UncheckedThrowback to summary
public UncheckedThrow()

Method Detail

rethrowback to summary
public static void rethrow(final Throwable checkedException)
thrownInsteadOfback to summary
private static <T extends Throwable> void thrownInsteadOf(Throwable t) throws Throwable-:T
Annotations
@SuppressWarnings:unchecked