public final class EventExceptionManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
EventExceptionManager.ExceptionFactory
This interface is implementation by exception factories that can create exceptions from
events.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
throwException(Event event,
String exceptionClass)
Converts an event into an exception and throws that.
|
public static void throwException(Event event, String exceptionClass) throws Throwable
RuntimeException will be thrown.event - the event to be convertedexceptionClass - the exception class to be thrownThrowable - this happens alwaysCopyright © 2023 Apache Software Foundation. All rights reserved.