Uses of Enum Class
net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples.FailureMode
Packages that use ExceptionHandlingExamples.FailureMode
Package
Description
Examples and notes for features introduced in Java 7.
-
Uses of ExceptionHandlingExamples.FailureMode in net.jrodolfo.java_evolution.java07
Subclasses with type arguments of type ExceptionHandlingExamples.FailureMode in net.jrodolfo.java_evolution.java07Modifier and TypeClassDescriptionstatic enumFailure modes used by the example.Methods in net.jrodolfo.java_evolution.java07 that return ExceptionHandlingExamples.FailureModeModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.ExceptionHandlingExamples.FailureMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.jrodolfo.java_evolution.java07 with parameters of type ExceptionHandlingExamples.FailureModeModifier and TypeMethodDescriptionExceptionHandlingExamples.recoverWithMultiCatch(ExceptionHandlingExamples.FailureMode failure) Handles two checked exception types with one catch block.voidExceptionHandlingExamples.rethrowPrecisely(ExceptionHandlingExamples.FailureMode failure) Rethrows an exception parameter without widening the declared throws clause beyond the precise checked exceptions that can be thrown.