brahms.communication.util
Class ExceptionRecord

java.lang.Object
  extended by brahms.communication.util.ExceptionRecord

public class ExceptionRecord
extends java.lang.Object

The ExceptionRecord specifies a record of an Exception generated using the ExceptionGenerator. It includes the Exception conceptual object that was created as well as the list of IBeliefs with the exception information.

Version:
$Revision: 1.1 $ $Date: 2007/10/10 14:03:01 $ $Author: rvhoof $
Author:
Ron van Hoof
See Also:
ExceptionGenerator

Constructor Summary
ExceptionRecord(IConceptualObject exception, IBelief[] content)
          Contructor, creates a new ExceptionRecord for the specified exception and with the specified content.
 
Method Summary
 IBelief[] getContent()
          Returns the exception information
 IConceptualObject getException()
          Returns the exception that was created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionRecord

public ExceptionRecord(IConceptualObject exception,
                       IBelief[] content)
Contructor, creates a new ExceptionRecord for the specified exception and with the specified content.

Parameters:
exception - the generated exception conceptual object
content - the content as a list of IBelief
Method Detail

getException

public final IConceptualObject getException()
Returns the exception that was created.

Returns:
IConceptualObject the exception

getContent

public final IBelief[] getContent()
Returns the exception information

Returns:
IBelief[] the list of IBelief with the exception content


Copyright © 1997-2012 All Rights Reserved.