sk.baka.ambient
Class ErrorHandler.ErrorInfo

java.lang.Object
  extended by sk.baka.ambient.ErrorHandler.ErrorInfo
Enclosing class:
ErrorHandler

public static class ErrorHandler.ErrorInfo
extends Object

Contains information about an error.

Author:
Martin Vysny

Field Summary
 boolean error
          true on error, false on warning.
 String message
          The message.
 String stacktrace
          The stack trace.
 long timestamp
          The time the error occurred.
 
Constructor Summary
ErrorHandler.ErrorInfo(boolean error, String message, Throwable t)
          Creates new error information object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

public final long timestamp
The time the error occurred.


error

public final boolean error
true on error, false on warning.


message

public final String message
The message.


stacktrace

public final String stacktrace
The stack trace.

Constructor Detail

ErrorHandler.ErrorInfo

public ErrorHandler.ErrorInfo(boolean error,
                              String message,
                              Throwable t)
Creates new error information object.

Parameters:
error - true on error, false on warning.
message - The message.
t - the cause.


Copyright © 2007-2008. All Rights Reserved.