java.lang.Object
|
+--stec.iws.ErrorLogEntry
public class ErrorLogEntry
Defines variables used by iServer for logging errors.
Fields
Field
|
Description
|
error
|
The error that occurred.
|
message
|
Any error message.
|
timestamp
|
When the error occurred in milliseconds since January 1, 1970, 00:00:00 GMT.
|
error
The error that occurred.
Syntax
public Throwable error
Example
os.print(entry.error.toString());
message
Any error message.
Syntax
public String message
Example
if(entry.message != null)
{
os.print(entry.message);
}
timestamp
When the error occurred in milliseconds since January 1, 1970, 00:00:00 GMT.
Syntax
public long timestamp
Example
os.print(new Date(entry.timestamp).toString());
|