
public class MonitorLogUtils extends Object
| Constructor and Description |
|---|
MonitorLogUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
reportConfigError(Logger log,
String cName,
String pName,
String message)
Reports configuration parameter error and exits.
|
static void |
reportError(Logger log,
String cName,
String pName)
Reports missing parameter error.
|
static void |
reportError(Logger log,
String cName,
String pName,
Object pValue)
Reports invalid parameter value error.
|
public static void reportError(Logger log, String cName, String pName, Object pValue) throws Exception
cName - The component namepName - The parameter namepValue - The parameter valueException, - alwaysExceptionpublic static void reportError(Logger log, String cName, String pName) throws Exception
cName - The component namepName - The parameter nameException, - alwaysExceptionCopyright © 2021 LSST. All rights reserved.