Class LogUtil

java.lang.Object
org.apache.fop.util.LogUtil

public final class LogUtil extends Object
Convenience Logging utility methods used in FOP
  • Method Details

    • handleError

      public static void handleError(org.apache.commons.logging.Log log, String errorStr, boolean strict) throws FOPException
      Convenience method that handles any error appropriately
      Parameters:
      log - log
      errorStr - error string
      strict - validate strictly
      Throws:
      FOPException - fop exception
    • handleException

      public static void handleException(org.apache.commons.logging.Log log, Exception e, boolean strict) throws FOPException
      Convenience method that handles any error appropriately
      Parameters:
      log - log
      e - exception
      strict - validate strictly
      Throws:
      FOPException - fop exception