Package org.apache.fop.layoutmgr
Class LayoutException.LayoutExceptionFactory
- java.lang.Object
-
- org.apache.fop.layoutmgr.LayoutException.LayoutExceptionFactory
-
- All Implemented Interfaces:
EventExceptionManager.ExceptionFactory
- Enclosing class:
- LayoutException
public static class LayoutException.LayoutExceptionFactory extends java.lang.Object implements EventExceptionManager.ExceptionFactory
Exception factory forLayoutException
.
-
-
Constructor Summary
Constructors Constructor Description LayoutExceptionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
createException(Event event)
Creates an exception from an event.java.lang.Class<LayoutException>
getExceptionClass()
Returns theException
class created by this factory.
-
-
-
Method Detail
-
createException
public java.lang.Throwable createException(Event event)
Creates an exception from an event.- Specified by:
createException
in interfaceEventExceptionManager.ExceptionFactory
- Parameters:
event
- the event- Returns:
- the newly created exception
-
getExceptionClass
public java.lang.Class<LayoutException> getExceptionClass()
Returns theException
class created by this factory.- Specified by:
getExceptionClass
in interfaceEventExceptionManager.ExceptionFactory
- Returns:
- the exception class
-
-