public class LogUtil extends Object
Constructor and Description |
---|
LogUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
handleError(org.slf4j.Logger log,
String errorStr,
boolean strict)
Convenience method that handles any error appropriately
|
static void |
handleException(org.slf4j.Logger log,
Exception e,
boolean strict)
Convenience method that handles any error appropriately
|
public static void handleError(org.slf4j.Logger log, String errorStr, boolean strict) throws FOPException
log
- logerrorStr
- error stringstrict
- validate strictlyFOPException
- fop exceptionpublic static void handleException(org.slf4j.Logger log, Exception e, boolean strict) throws FOPException
log
- loge
- exceptionstrict
- validate strictlyFOPException
- fop exceptionCopyright © 2007-2019. All Rights Reserved.