GuardedInvocation.GuardedInvocation() | Java

 

Descripción

Sintaxis

public GuardedInvocation(MethodHandle invocation)
public GuardedInvocation(MethodHandle invocation, MethodHandle guard)
public GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint switchPoint)
public GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint[] switchPoints, Class<? extends Throwable> exception)
public GuardedInvocation(MethodHandle invocation, MethodHandle guard, SwitchPoint switchPoint, Class<? extends Throwable> exception)
public GuardedInvocation(MethodHandle invocation, SwitchPoint switchPoint)

Parámetros

  • SwitchPoint[] switchPoints,
  • Class<? extends Throwable> exception,
  • MethodHandle invocation,
  • MethodHandle guard,
  • SwitchPoint switchPoint,

Excepciones

NullPointerException

Clase Padre

GuardedInvocation

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.