Class EventExceptionManager

java.lang.Object
org.docx4j.org.apache.fop.events.EventExceptionManager

public final class EventExceptionManager extends Object
This class is responsible for converting events into exceptions.
  • Method Details

    • throwException

      public static void throwException(Event event, String exceptionClass) throws Throwable
      Converts an event into an exception and throws that. If the exception class is null, a RuntimeException will be thrown.
      Parameters:
      event - the event to be converted
      exceptionClass - the exception class to be thrown
      Throws:
      Throwable - this happens always