Package org.apache.fop.util
Class LogUtil
- java.lang.Object
-
- org.apache.fop.util.LogUtil
-
public final class LogUtil extends java.lang.Object
Convenience Logging utility methods used in FOP
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LogUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
handleError(org.apache.commons.logging.Log log, java.lang.String errorStr, boolean strict)
Convenience method that handles any error appropriatelystatic void
handleException(org.apache.commons.logging.Log log, java.lang.Exception e, boolean strict)
Convenience method that handles any error appropriately
-
-
-
Method Detail
-
handleError
public static void handleError(org.apache.commons.logging.Log log, java.lang.String errorStr, boolean strict) throws FOPException
Convenience method that handles any error appropriately- Parameters:
log
- logerrorStr
- error stringstrict
- validate strictly- Throws:
FOPException
- fop exception
-
handleException
public static void handleException(org.apache.commons.logging.Log log, java.lang.Exception e, boolean strict) throws FOPException
Convenience method that handles any error appropriately- Parameters:
log
- loge
- exceptionstrict
- validate strictly- Throws:
FOPException
- fop exception
-
-