com.bankframe
Class ESystem

java.lang.Object
  extended bycom.bankframe.ESystem

public class ESystem
extends java.lang.Object

This class is used to log messages and exceptions


Field Summary
static int DEBUG
           
static int DEPRECATED
           
static int ERROR
           
static int INFO
           
static int WARNING
           
 
Constructor Summary
ESystem()
           
 
Method Summary
static void out(java.lang.Exception ex)
          This method logs the specifed exception to the specified log
static void out(int level, java.lang.Exception ex)
          This method logs the specifed exception to the specified log
static void out(int level, java.lang.String msg)
          This method prints the specified message to the specified log
static void out(java.lang.Object obj)
          Deprecated.  
static void out(java.lang.String msg)
          This method prints the specified message to the specified log
static void reset()
          Deprecated. This method does nothing
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final int DEBUG
See Also:
Constant Field Values

INFO

public static final int INFO
See Also:
Constant Field Values

WARNING

public static final int WARNING
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

DEPRECATED

public static final int DEPRECATED
See Also:
Constant Field Values
Constructor Detail

ESystem

public ESystem()
Method Detail

out

public static void out(int level,
                       java.lang.Exception ex)
This method logs the specifed exception to the specified log

Parameters:
level - The log level
ex - The exception to log

out

public static void out(int level,
                       java.lang.String msg)
This method prints the specified message to the specified log

Parameters:
level - The log level
msg - The message to dump to the log

out

public static void out(java.lang.Exception ex)
This method logs the specifed exception to the specified log

Parameters:
ex - The exception to log

out

public static void out(java.lang.Object obj)
Deprecated.  

This method prints the specified message to the specified log


out

public static void out(java.lang.String msg)
This method prints the specified message to the specified log

Parameters:
msg - The message to dump to the log

reset

public static void reset()
Deprecated. This method does nothing

This method resets the output mode



Copyright © 2005, 2007, Oracle. All rights reserved.