ptolemy.domains.ptera.kernel
Class PteraErrorEvent

java.lang.Object
  extended by ptolemy.domains.ptera.kernel.PteraDebugEvent
      extended by ptolemy.domains.ptera.kernel.PteraErrorEvent
All Implemented Interfaces:
DebugEvent

public class PteraErrorEvent
extends PteraDebugEvent

A debug event for reporting errors in the execution of Ptera models.

Since:
Ptolemy II 8.0
Version:
$Id: PteraErrorEvent.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Thomas Huining Feng
Accepted Rating:
Red (tfeng)
Proposed Rating:
Yellow (tfeng)

Constructor Summary
PteraErrorEvent(Event source, java.lang.String message)
          Construct a debug event with the source and a message.
 
Method Summary
 java.lang.String toString()
          Return the message.
 
Methods inherited from class ptolemy.domains.ptera.kernel.PteraDebugEvent
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PteraErrorEvent

public PteraErrorEvent(Event source,
                       java.lang.String message)
Construct a debug event with the source and a message.

Parameters:
source - The source of the debug event.
message - The message.
Method Detail

toString

public java.lang.String toString()
Return the message.

Specified by:
toString in interface DebugEvent
Overrides:
toString in class PteraDebugEvent
Returns:
The message.