org.apache.fop.util
Class LogUtil
java.lang.Object
org.apache.fop.util.LogUtil
public class LogUtil
extends java.lang.Object
Convenience Logging utility methods used in FOP
static void | handleError(Log log, String errorStr, boolean strict) - Convenience method that handles any error appropriately
|
static void | handleException(Log log, Exception e, boolean strict) - Convenience method that handles any error appropriately
|
handleError
public static void handleError(Log log,
String errorStr,
boolean strict)
throws FOPException
Convenience method that handles any error appropriately
log
- logerrorStr
- error stringstrict
- validate strictly
handleException
public static void handleException(Log log,
Exception e,
boolean strict)
throws FOPException
Convenience method that handles any error appropriately
log
- loge
- exceptionstrict
- validate strictly
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.