aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/events/EventExceptionManager.java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2008-07-24 09:35:34 +0000
committerVincent Hennebert <vhennebert@apache.org>2008-07-24 09:35:34 +0000
commit92df262a0778ee539c849454be2810621dac1b7e (patch)
treed5be9359cbacb91dffcab6f1a6ecfe61e9db2c6b /src/java/org/apache/fop/events/EventExceptionManager.java
parent30e2ce5bee38cbc32758e0b65fa7f98f3db76baa (diff)
downloadxmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.tar.gz
xmlgraphics-fop-92df262a0778ee539c849454be2810621dac1b7e.zip
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/events/EventExceptionManager.java')
-rw-r--r--src/java/org/apache/fop/events/EventExceptionManager.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/events/EventExceptionManager.java b/src/java/org/apache/fop/events/EventExceptionManager.java
index 44b1ef7b1..f6a115450 100644
--- a/src/java/org/apache/fop/events/EventExceptionManager.java
+++ b/src/java/org/apache/fop/events/EventExceptionManager.java
@@ -30,7 +30,7 @@ import org.apache.xmlgraphics.util.Service;
public class EventExceptionManager {
private static final Map EXCEPTION_FACTORIES = new java.util.HashMap();
-
+
static {
Iterator iter;
iter = Service.providers(ExceptionFactory.class, true);
@@ -39,7 +39,7 @@ public class EventExceptionManager {
EXCEPTION_FACTORIES.put(factory.getExceptionClass().getName(), factory);
}
}
-
+
/**
* Converts an event into an exception and throws that. If the exception class is null,
* a {@link RuntimeException} will be thrown.
@@ -61,20 +61,20 @@ public class EventExceptionManager {
throw new RuntimeException(msg);
}
}
-
+
/**
* This interface is implementation by exception factories that can create exceptions from
* events.
*/
public interface ExceptionFactory {
-
+
/**
* Creates an exception from an event.
* @param event the event
* @return the newly created exception
*/
Throwable createException(Event event);
-
+
/**
* Returns the {@link Exception} class created by this factory.
* @return the exception class