org.castor.tools.log4j

Class LogExceptionEntry

public final class LogExceptionEntry extends 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
LogEntrygetEntry()
Get the LogEntry this LogExceptionEntry belongs to.
IntegergetId()
Get the identity of this object.
StringgetStackTrace()
Get the stack trace of the exception.
voidsetEntry(LogEntry entry)
Set the LogEntry this LogExceptionEntry belongs to.
voidsetId(Integer id)
Set the identity of this object.
voidsetStackTrace(String stackTrace)
Set the stack trace of this exception.

Method Detail

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