janus.web
Class ErrorReport

java.lang.Object
  extended by janus.web.ErrorReport

public class ErrorReport
extends Object

Hilfsklasse zum Loggen und Versenden von Fehlern.


Field Summary
 String caller
          Aufrufer
 List list
          Liste der Ausnahmen
 String threadName
          Thread-Name
 Throwable throwable
          Ausnahme
 Date timestamp
          Zeitpunkt
 
Constructor Summary
ErrorReport(Throwable throwable)
          Erzeugen aus Throwable.
 
Method Summary
static Throwable create(Throwable t)
          Convenience-Aufruf
static Throwable create(Throwable t, Throwable cause)
          Convenience-Aufruf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caller

public final String caller
Aufrufer


list

public final List list
Liste der Ausnahmen


threadName

public final String threadName
Thread-Name


throwable

public final Throwable throwable
Ausnahme


timestamp

public final Date timestamp
Zeitpunkt

Constructor Detail

ErrorReport

public ErrorReport(Throwable throwable)
Erzeugen aus Throwable.

Parameters:
throwable - Ausnahme, die geloggt werden soll
Method Detail

create

public static Throwable create(Throwable t)
Convenience-Aufruf

Parameters:
t - die Ausnahme
Returns:
die Ausnahme

create

public static Throwable create(Throwable t,
                               Throwable cause)
Convenience-Aufruf

Parameters:
t - die Ausnahme
cause - Grund der Ausnahme
Returns:
die Ausnahme


Copyright © 2008 MvC Systemsoftware.