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