Preferences Editor

de.jppietsch.error
Class Log

java.lang.Object
  extended byjava.util.logging.Logger
      extended byde.jppietsch.error.Log

public final class Log
extends Logger

A convenient Logger, helpful to avoid stupid typing.

Version:
$Revision: 1.4 $
Author:
Jan-Peter Pietsch

Field Summary
static Log LOG
           
 
Fields inherited from class java.util.logging.Logger
global
 
Method Summary
static void catched(Throwable aThrowable)
           
static void catched(Throwable aThrowable, String aMessage)
           
static void indexOutOfBounds(Object anObject, String aMethod, String aName, long aValue)
          Convenience method to issue an "index out of bounds" warning.
 
Methods inherited from class java.util.logging.Logger
addHandler, config, entering, entering, entering, exiting, exiting, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getHandlers, getLevel, getLogger, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, isLoggable, log, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, removeHandler, setFilter, setLevel, setParent, setUseParentHandlers, severe, throwing, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final Log LOG
Method Detail

catched

public static void catched(Throwable aThrowable,
                           String aMessage)

catched

public static void catched(Throwable aThrowable)

indexOutOfBounds

public static void indexOutOfBounds(Object anObject,
                                    String aMethod,
                                    String aName,
                                    long aValue)
Convenience method to issue an "index out of bounds" warning.

Parameters:
anObject - Whose class is used for the warning. (It's more convenient than giving the class, because the caller doesn't have to extract the class.)
aMethod - Name of the method.
aName - Name of the parameter, field or local variable, which is out of bounds.
aValue - Actual value of aName.

Preferences Editor