org.castor.tools.log4j

Class LogExceptionEntry


public final class LogExceptionEntry
extends java.lang.Object

A LogExceptionEntry holds the information belongs to a related exception of a LoggingEvent.
Version:
$Id: TNSAddress.java,v 1.2 2006/08/08 14:42:48 holger Exp $
Author:
Holger West, Syscon Ingenieurb?ro f?r Mess- und Datentechnik GmbH.

Method Summary

LogEntry
getEntry()
Get the LogEntry this LogExceptionEntry belongs to.
Integer
getId()
Get the identity of this object.
String
getStackTrace()
Get the stack trace of the exception.
void
setEntry(LogEntry entry)
Set the LogEntry this LogExceptionEntry belongs to.
void
setId(Integer id)
Set the identity of this object.
void
setStackTrace(String stackTrace)
Set the stack trace of this exception.

Method Details

getEntry

public LogEntry getEntry()
Get the LogEntry this LogExceptionEntry belongs to.
Returns:
LogEntry this LogExceptionEntry belongs to.

getId

public Integer getId()
Get the identity of this object.
Returns:
The identity of this object.

getStackTrace

public String getStackTrace()
Get the stack trace of the exception.
Returns:
Stack trace of the exception.

setEntry

public void setEntry(LogEntry entry)
Set the LogEntry this LogExceptionEntry belongs to.
Parameters:
entry - LogEntry this LogExceptionEntry belongs to.

setId

public void setId(Integer id)
Set the identity of this object.
Parameters:
id - The identity of this object.

setStackTrace

public void setStackTrace(String stackTrace)
Set the stack trace of this exception.
Parameters:
stackTrace - Stack trace of this exception.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com