public class EventExceptionManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
EventExceptionManager.ExceptionFactory
This interface is implementation by exception factories that can create exceptions from
events.
|
Constructor and Description |
---|
EventExceptionManager() |
Modifier and Type | Method and 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-2010 The Apache Software Foundation. All Rights Reserved.