aicas logo Jamaica 3.4 release 8

com.aicas.jamaica.util
Class Logger

java.lang.Object
  extended by com.aicas.jamaica.util.Logger

public class Logger
extends Object

Classes


Constructor Summary
Logger()
           
 
Method Summary
static void error(String source, String msg, Throwable cause)
          print an error message
static String formatError(String source, String msg)
          format an error message
static String formatWarning(String source, String msg)
          format a warning message
static void warning(String source, String msg, Throwable cause)
          print a warning message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Method Detail

formatError

public static String formatError(String source,
                                 String msg)
format an error message

Parameters:
source - program name
msg - the error message.
Returns:
format error message

formatWarning

public static String formatWarning(String source,
                                   String msg)
format a warning message

Parameters:
source - program name
msg - the error message.
Returns:
format warning message

error

public static void error(String source,
                         String msg,
                         Throwable cause)
print an error message

Parameters:
source - program name
msg - the error message.
cause - the cause, null for none.

warning

public static void warning(String source,
                           String msg,
                           Throwable cause)
print a warning message

Parameters:
source - program name
msg - the error message.
cause - the cause, null for none.

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.