public class CommandLineDebugUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
COMMONS_EXEC_DEBUG
System property to determine how to dump an exception.
|
static String |
COMMONS_EXEC_LENIENT
System property to determine how to handle exceptions.
|
| 构造器和说明 |
|---|
CommandLineDebugUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
handleException(String msg,
Exception e)
Handles an exception based on the system properties.
|
static boolean |
isDebugEnabled()
Determines if debugging is enabled based on the
system property "COMMONS_EXEC_DEBUG".
|
static boolean |
isLenientEnabled()
Determines if lenient mode is enabled.
|
public static final String COMMONS_EXEC_LENIENT
public static void handleException(String msg, Exception e)
msg - message describing the probleme - an exception being handledpublic static boolean isDebugEnabled()
public static boolean isLenientEnabled()
Copyright © 2022. All rights reserved.