Package org.apache.fop.events
Interface EventExceptionManager.ExceptionFactory
-
- All Known Implementing Classes:
LayoutException.LayoutExceptionFactory,PageProductionException.PageProductionExceptionFactory,PropertyExceptionFactory,UnsupportedOperationExceptionFactory,ValidationExceptionFactory
- Enclosing class:
- EventExceptionManager
public static interface EventExceptionManager.ExceptionFactoryThis interface is implementation by exception factories that can create exceptions from events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ThrowablecreateException(Event event)Creates an exception from an event.java.lang.Class<? extends java.lang.Exception>getExceptionClass()Returns theExceptionclass created by this factory.
-
-
-
Method Detail
-
createException
java.lang.Throwable createException(Event event)
Creates an exception from an event.- Parameters:
event- the event- Returns:
- the newly created exception
-
getExceptionClass
java.lang.Class<? extends java.lang.Exception> getExceptionClass()
Returns theExceptionclass created by this factory.- Returns:
- the exception class
-
-