Package org.docx4j.org.apache.fop.events
Class EventExceptionManager
java.lang.Object
org.docx4j.org.apache.fop.events.EventExceptionManager
This class is responsible for converting events into exceptions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThis interface is implementation by exception factories that can create exceptions from events. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidthrowException(Event event, String exceptionClass) Converts an event into an exception and throws that.
-
Method Details
-
throwException
Converts an event into an exception and throws that. If the exception class is null, aRuntimeExceptionwill be thrown.- Parameters:
event- the event to be convertedexceptionClass- the exception class to be thrown- Throws:
Throwable- this happens always
-