Package ptolemy.domains.ptera.kernel
Class PteraErrorEvent
- java.lang.Object
-
- ptolemy.domains.ptera.kernel.PteraDebugEvent
-
- 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$
- Author:
- Thomas Huining Feng
- Pt.AcceptedRating:
- Red (tfeng)
- Pt.ProposedRating:
- Yellow (tfeng)
-
-
Constructor Summary
Constructors Constructor Description PteraErrorEvent(Event source, java.lang.String message)
Construct a debug event with the source and a message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Return the message.-
Methods inherited from class ptolemy.domains.ptera.kernel.PteraDebugEvent
getSource, toString
-
-
-
-
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 interfaceDebugEvent
- Overrides:
toString
in classPteraDebugEvent
- Returns:
- The message.
-
-