Package org.apache.fop.event
Class PropertyExceptionFactory
- java.lang.Object
-
- org.apache.fop.event.PropertyExceptionFactory
-
- All Implemented Interfaces:
EventExceptionManager.ExceptionFactory
public class PropertyExceptionFactory extends java.lang.Object implements EventExceptionManager.ExceptionFactory
Exception factory forPropertyException.
-
-
Constructor Summary
Constructors Constructor Description PropertyExceptionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablecreateException(Event event)Creates an exception from an event.java.lang.Class<PropertyException>getExceptionClass()Returns theExceptionclass created by this factory.
-
-
-
Method Detail
-
createException
public java.lang.Throwable createException(Event event)
Creates an exception from an event.- Specified by:
createExceptionin interfaceEventExceptionManager.ExceptionFactory- Parameters:
event- the event- Returns:
- the newly created exception
-
getExceptionClass
public java.lang.Class<PropertyException> getExceptionClass()
Returns theExceptionclass created by this factory.- Specified by:
getExceptionClassin interfaceEventExceptionManager.ExceptionFactory- Returns:
- the exception class
-
-