public class LogUtil
extends java.lang.Object
Constructor and Description |
---|
LogUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
handleError(org.apache.commons.logging.Log log,
java.lang.String errorStr,
boolean strict)
Convenience method that handles any error appropriately
|
static void |
handleException(org.apache.commons.logging.Log log,
java.lang.Exception e,
boolean strict)
Convenience method that handles any error appropriately
|
public static void handleError(org.apache.commons.logging.Log log, java.lang.String errorStr, boolean strict) throws FOPException
log
- logerrorStr
- error stringstrict
- validate strictlyFOPException
- fop exceptionpublic static void handleException(org.apache.commons.logging.Log log, java.lang.Exception e, boolean strict) throws FOPException
log
- loge
- exceptionstrict
- validate strictlyFOPException
- fop exceptionCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.