|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.dct.exception.MessageLogger
public class MessageLogger
Class to get a pre-defined message from a 'exceptions.properties' file in this library
Method Summary | |
---|---|
static String |
getString(String key)
Retrieve message string with default locale (en_EN) |
static String |
getString(String key,
String[] args)
Retrieve message with default locale (en_EN) |
static void |
logError(Class className,
String key,
String[] args,
Throwable cause)
Function to log messages |
static void |
logError(Class className,
String key,
Throwable cause)
Fucntion to log messages |
static void |
logMessage(Class className,
LogLevels severity,
String key)
Fucntion to log messages |
static void |
logMessage(Class className,
LogLevels severity,
String key,
String[] args)
Function to log messages |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getString(String key)
key
- key to find message
public static String getString(String key, String[] args)
key
- key to find messageargs
- arguments to be merged into the resource string
public static void logMessage(Class className, LogLevels severity, String key, String[] args)
className
- class to be used in log messageseverity
- log levelkey
- key to find the message stringargs
- arguments to be merged in resource stringpublic static void logMessage(Class className, LogLevels severity, String key)
className
- class to be used in log messageseverity
- log levelkey
- key to find the message stringpublic static void logError(Class className, String key, Throwable cause)
className
- class to be used in log messagekey
- key to find the message stringcause
- cause throwablepublic static void logError(Class className, String key, String[] args, Throwable cause)
className
- class to be used in log messagekey
- key to find the message stringcause
- cause throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |