wt.epm.util
Class EPMDebug

java.lang.Object
  extended bywt.epm.util.EPMDebug

public class EPMDebug
extends Object


Constructor Summary
private EPMDebug()
           
 
Method Summary
static void abort(String message)
           
static String currentTimeAsString()
           
static boolean getLogFlag(Class clazz)
           
static boolean getLogFlag(Class clazz, String subLog)
           
static void log(String s)
           
static void log(String s, long time)
           
static Collection objects2Identities(Collection c)
           
static void shouldNeverHappen()
           
static void unexpectedException(String message)
           
static void warning(boolean condition)
           
static void warning(boolean condition, String message)
           
static void warning(Object object)
           
static void warning(Object object, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPMDebug

private EPMDebug()
Method Detail

abort

public static void abort(String message)
                  throws EPMException
Throws:
EPMException

warning

public static void warning(Object object)
                    throws EPMException
Throws:
EPMException

warning

public static void warning(Object object,
                           String message)
                    throws EPMException
Throws:
EPMException

warning

public static void warning(boolean condition)
                    throws EPMException
Throws:
EPMException

warning

public static void warning(boolean condition,
                           String message)
                    throws EPMException
Throws:
EPMException

unexpectedException

public static void unexpectedException(String message)
                                throws EPMException
Throws:
EPMException

shouldNeverHappen

public static void shouldNeverHappen()
                              throws EPMException
Throws:
EPMException

getLogFlag

public static boolean getLogFlag(Class clazz)

getLogFlag

public static boolean getLogFlag(Class clazz,
                                 String subLog)

currentTimeAsString

public static String currentTimeAsString()

log

public static void log(String s)

log

public static void log(String s,
                       long time)

objects2Identities

public static Collection objects2Identities(Collection c)
                                     throws WTException
Throws:
WTException